Add Windows 2022 test targets.

This commit is contained in:
Darren Tucker 2022-08-27 09:37:40 +10:00
parent 85e1a69243
commit 9f81736cf1
No known key found for this signature in database
1 changed files with 4 additions and 3 deletions

View File

@ -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