Skip to content

Commit 86141cd

Browse files
Brian Gianforcarobgianfo
authored andcommitted
CI: Switch build matrix off of windows-2016, and on to windows-2022
The github windows-2016 runner is being deprecated in the middle of March. So lets pre-emptively move off of that and on to the next version of the runner so we are still testing all the versions of windows we have available.
1 parent 3c226ee commit 86141cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
os: [windows-2019, windows-2016]
23+
os: [windows-2019, windows-2022]
2424
arch: [x86, x64, x64_arm, x64_arm64]
2525
conf: [Release, Debug]
2626

@@ -41,21 +41,21 @@ jobs:
4141
languages: cpp
4242
config-file: ./.github/codeql/codeql-config.yml
4343

44-
- name: Build Detours for ${{ matrix.arch }} on ${{ matrix.os }}
44+
- name: Build Detours for ${{ matrix.arch }} on ${{ matrix.os }}
4545
env:
4646
# Tell detours what process to target
4747
DETOURS_TARGET_PROCESSOR: ${{ env.VSCMD_ARG_TGT_ARCH }}
4848
DETOURS_CONFIG: ${{ matrix.conf }}
4949
run: nmake
5050

51-
- name: Run unit tests for ${{ matrix.arch }} on ${{ matrix.os }}
51+
- name: Run unit tests for ${{ matrix.arch }} on ${{ matrix.os }}
5252
id: run-unit-tests
5353
env:
5454
DETOURS_CONFIG: ${{ matrix.conf }}
5555
run: cd tests && nmake test
5656
if: ${{ matrix.arch == 'x86' || matrix.arch == 'x64' }}
5757

58-
- name: Upload artifacts for ${{ matrix.arch }} on ${{ matrix.os }}
58+
- name: Upload artifacts for ${{ matrix.arch }} on ${{ matrix.os }}
5959
uses: actions/upload-artifact@v2
6060
with:
6161
name: artifacts-${{ matrix.os }}

0 commit comments

Comments
 (0)