workflow: add Qt installation step

This commit is contained in:
2025-10-21 11:09:02 +08:00
parent beca35c448
commit be6352990c

View File

@@ -23,9 +23,9 @@ jobs:
# #
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list. # To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
matrix: matrix:
os: [ubuntu-latest, windows-latest] os: [ ubuntu-latest, windows-latest ]
build_type: [Release] build_type: [ Release ]
c_compiler: [gcc, clang, cl] c_compiler: [ gcc, clang, cl ]
include: include:
- os: windows-latest - os: windows-latest
c_compiler: cl c_compiler: cl
@@ -54,6 +54,9 @@ jobs:
run: | run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT" echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Install Qt
uses: jurplel/install-qt-action@v4
- name: Configure CMake - name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type