Skip to content

Commit

Permalink
Update cmake invocation to use Visual Studio of windows-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
saraedum committed Nov 22, 2022
1 parent ed5932a commit 8631554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: make build dir
run: md build
- name: configure
run: 'cd build; cmake .. -DCMAKE_TOOLCHAIN_FILE="$Env:VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows -G "Visual Studio 16 2019" -DCMAKE_PLATFORM_ARCH=x64 -DRX_TEST=ON; cd ..'
run: 'cd build; cmake .. -DCMAKE_TOOLCHAIN_FILE="$Env:VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows -G "Visual Studio 17 2022" -DCMAKE_PLATFORM_ARCH=x64 -DRX_TEST=ON; cd ..'
- name: build
run: cd build; cmake --build . --config Debug; cd ..
- name: run tests
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
- name: make build dir
run: md build
- name: configure
run: 'cd build; cmake .. -DCMAKE_TOOLCHAIN_FILE="$Env:VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows -G "Visual Studio 16 2019" -DCMAKE_PLATFORM_ARCH=x64 -DRX_TEST=ON; cd ..'
run: 'cd build; cmake .. -DCMAKE_TOOLCHAIN_FILE="$Env:VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows -G "Visual Studio 17 2022" -DCMAKE_PLATFORM_ARCH=x64 -DRX_TEST=ON; cd ..'
- name: build
run: cd build; cmake --build . --config Release; cd ..
- name: run tests
Expand Down

0 comments on commit 8631554

Please sign in to comment.