Skip to content

Commit

Permalink
CI: Add back VS2022, update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Margen67 committed Dec 13, 2024
1 parent 50334cb commit d8b9226
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,22 @@ jobs:
fail-fast: false
matrix:
configuration: [Release, Debug]
vsver: [2019]
winver: [7]
sdkver: [10.0.22621.0]
vsver: [2019, 2022]
include:
- vsver: 2019
cmake_args: ',version=10.0.22621.0 -DCMAKE_SYSTEM_VERSION=7'
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Generate CMake files
run: cmake -B build -A Win32,version=${{ matrix.sdkver }} -DCMAKE_SYSTEM_VERSION=${{ matrix.winver }}
run: cmake -B build -A Win32${{ matrix.cmake_args }}
- name: Build
run: cmake --build build --config ${{ matrix.configuration }} -j $env:NUMBER_OF_PROCESSORS
- name: Prepare artifacts
if: matrix.configuration == 'Release'
run: cmake --install build --config ${{ matrix.configuration }} --prefix artifacts
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: matrix.configuration == 'Release'
with:
name: CxbxReloaded-${{ matrix.configuration }}-VS${{ matrix.vsver }}
Expand All @@ -61,7 +62,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: artifacts
- name: Re-zip artifacts
Expand Down

0 comments on commit d8b9226

Please sign in to comment.