Skip to content

Commit

Permalink
Update cmake-win.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrolcl authored Apr 4, 2024
1 parent 9b86911 commit 876962e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cmake-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fail-fast: false
matrix:
include:
- { icon: '⬛', sys: mingw32 }
#- { icon: '⬛', sys: mingw32 } #There are no 32 bit packages for Qt6 in msys2
- { icon: '🟦', sys: mingw64 }
- { icon: '🟨', sys: ucrt64 }
- { icon: '🟧', sys: clang64 }
Expand Down Expand Up @@ -55,18 +55,18 @@ jobs:
- name: '${{ matrix.icon }} 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.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_LOCATION}}
run: cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{env.INSTALL_LOCATION}}

- name: '${{ matrix.icon }} Build'
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
run: cmake --build build --config ${{env.BUILD_TYPE}}

- name: '${{ matrix.icon }} Test'
working-directory: ${{github.workspace}}/build
working-directory: build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C ${{env.BUILD_TYPE}}

- name: '${{ matrix.icon }} Install'
# Build your program with the given configuration
run: cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
run: cmake --install build --config ${{env.BUILD_TYPE}}

0 comments on commit 876962e

Please sign in to comment.