summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2022-08-27 09:37:40 +1000
committerDarren Tucker <dtucker@dtucker.net>2022-08-27 09:37:40 +1000
commit9f81736cf16dd8dda1c8942f1973a5f80b8cd78c (patch)
treec3504bb885f10faf753cad8fc1afb7adb19544ed
parent85e1a69243f12be8520438ad6a3cfdc0b7fcbb2d (diff)
Add Windows 2022 test targets.
-rw-r--r--.github/workflows/c-cpp.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index ec246061..3cd1188f 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -15,12 +15,13 @@ jobs:
fail-fast: false
matrix:
# First we test all OSes in the default configuration.
- os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, windows-2019]
+ os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, windows-2019, windows-2022]
configs: [default]
# Then we include any extra configs we want to test for specific VMs.
# Valgrind slows things down quite a bit, so start them first.
include:
- { os: windows-2019, configs: cygwin-release }
+ - { os: windows-2022, configs: cygwin-release }
- { os: ubuntu-20.04, configs: valgrind-1 }
- { os: ubuntu-20.04, configs: valgrind-2 }
- { os: ubuntu-20.04, configs: valgrind-3 }
@@ -81,10 +82,10 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: set cygwin git params
- if: ${{ matrix.os == 'windows-2019' }}
+ if: ${{ startsWith(matrix.os, 'windows') }}
run: git config --global core.autocrlf input
- name: install cygwin
- if: ${{ matrix.os == 'windows-2019' }}
+ if: ${{ startsWith(matrix.os, 'windows') }}
uses: cygwin/cygwin-install-action@master
- uses: actions/checkout@v2
- name: setup CI system