Skip to content

Commit

Permalink
. e switch to windows-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Laguna1989 committed Mar 26, 2024
1 parent 73bdef8 commit f480fc5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-and-test-visual-studio-solutions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
build_vs2019_sln:
runs-on: windows-2019
runs-on: windows-latest
steps:
- uses: actions/checkout@v1

Expand All @@ -22,12 +22,11 @@ jobs:

- name: build
run: |
cd visual-studio-2019
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat"
cd visual-studio
cmake --build .
shell: cmd

- name: test
run: |
cd visual-studio-2019
cd visual-studio
ctest . -C debug
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -328,4 +328,4 @@ ASALocalRun/
.idea/

# machine generated folder
visual-studio-2019/
visual-studio/
8 changes: 4 additions & 4 deletions create_visual_studio_project.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
rmdir /s /q visual-studio-2019
mkdir visual-studio-2019
cd visual-studio-2019
cmake -G "Visual Studio 16 2019" ..
rmdir /s /q visual-studio
mkdir visual-studio
cd visual-studio
cmake ..
cd ..

0 comments on commit f480fc5

Please sign in to comment.