Skip to content

Commit

Permalink
Compile project on both VS2022 and VS2019
Browse files Browse the repository at this point in the history
The GitHub Actions matrix include functionality was used to expand
the matrix only for windows os:
https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations

Change-Id: Ifdc2fce3acebf22842f914b538cbeeca96c1f8a9
  • Loading branch information
MiKom committed Jan 31, 2024
1 parent 69c0861 commit 8d62f0d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
shared:
- ON
- OFF
include:
- os: windows-2022
vstoolset: 14.29 # VS 2019 16.11.x
- os: windows-2022
vstoolset: 14.38 # VS 2022 17.8.x

steps:
- name: Checkout sources
Expand All @@ -35,6 +40,8 @@ jobs:

- name: Make sure MSVC is found when Ninja generator is in use
uses: ilammy/msvc-dev-cmd@v1
with:
toolset: ${{ matrix.vstoolset }}

- name: Install linux dependencies
if: runner.os == 'Linux'
Expand Down

0 comments on commit 8d62f0d

Please sign in to comment.