Skip to content

Commit

Permalink
change CI tests to VS 17 2022!
Browse files Browse the repository at this point in the history
  • Loading branch information
burnpanck authored and foonathan committed Nov 25, 2022
1 parent d0daa6d commit 5610e8d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Main CI

on:
push:
branches: [main]
branches: [main, bugfix/fix-issue-145-compile-on-msvc-2022]

jobs:
linux:
Expand Down Expand Up @@ -81,8 +81,9 @@ jobs:
matrix:
build_type: [Debug, Release]
sharedlibs: [OFF, ON]
std: [14, 17, 20]

runs-on: windows-2019
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
Expand All @@ -91,7 +92,7 @@ jobs:
- name: Configure
shell: bash
working-directory: build/
run: cmake $GITHUB_WORKSPACE -G"Visual Studio 16 2019" -DBUILD_SHARED_LIBS=${{matrix.sharedlibs}}
run: cmake $GITHUB_WORKSPACE -G"Visual Studio 17 2022" -DCMAKE_CXX_STANDARD=${{matrix.std}}  -DBUILD_SHARED_LIBS=${{matrix.sharedlibs}}
- name: Build
working-directory: build/
run: cmake --build . --config ${{matrix.build_type}}
Expand Down

0 comments on commit 5610e8d

Please sign in to comment.