From d8b9226dc852df3f4bc0cc9cc4f2be66cc960edb Mon Sep 17 00:00:00 2001 From: Margen67 Date: Fri, 13 Dec 2024 13:25:11 -0800 Subject: [PATCH] CI: Add back VS2022, update actions --- .github/workflows/CI.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5a5d3289b4..8ca2e8e8bb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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 }} @@ -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