Skip to content

Commit 17b0cb8

Browse files
committed
CI: Specify minimum platform and SDK version
1 parent daa6a81 commit 17b0cb8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/CI.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,15 @@ jobs:
3030
fail-fast: false
3131
matrix:
3232
configuration: [Release, Debug]
33-
vsver: [2022]
33+
vsver: [2019]
34+
winver: [7]
35+
sdkver: [10.0.22621.0]
3436
steps:
3537
- uses: actions/checkout@v4
3638
with:
3739
submodules: recursive
3840
- name: Generate CMake files
39-
run: cmake -B build -A Win32
41+
run: cmake -B build -A Win32,version=${{ matrix.sdkver }} -DCMAKE_SYSTEM_VERSION=${{ matrix.winver }}
4042
- name: Build
4143
run: cmake --build build --config ${{ matrix.configuration }} -j $env:NUMBER_OF_PROCESSORS
4244
- name: Prepare artifacts

0 commit comments

Comments
 (0)