Skip to content

Commit

Permalink
windows generator name
Browse files Browse the repository at this point in the history
  • Loading branch information
hrantzsch committed May 21, 2024
1 parent 2fd24d4 commit 39d521c
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,28 @@ on:

jobs:

Windows-test:
runs-on: ${{ matrix.os }}
windows-test:
runs-on: ${{ matrix.os.image }}
strategy:
matrix:
os: [windows-2019, windows-2022]
os:
- {
image: windows-2019,
generator: "Visual Studio 16 2019"
}
- {
image: windows-2022,
generator: "Visual Studio 17 2022"
}
config: [Debug, Release]
steps:
- uses: actions/checkout@v4
- name: Run cmake
run: cmake -G "Visual Studio 17" . -DBUILD_TESTS=yes -DCODE_COVERAGE=no
run: cmake -G "${{ matrix.os.generator }}" . -DBUILD_TESTS=yes -DCODE_COVERAGE=no
- name: Build and run tests
run: cmake --build . --target test --config ${{ matrix.config }}

Unix-test:
unix-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -53,7 +61,7 @@ jobs:
fi
cmake --build . --target test
Unix-test-coverage:
unix-test-coverage:
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down

0 comments on commit 39d521c

Please sign in to comment.