From bcc77ae7e416e8a6367187dfe4ebc90db6183876 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 2 Jan 2021 07:11:06 +0300 Subject: workflows/test.yml: don't run on Windows hosts I'm tired of all the red crosses. --- .github/workflows/test.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e4a9c1d..cd32e53 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,26 +15,23 @@ jobs: matrix: platform: [x86, x64] cygwin: [0, 1] - os: [ubuntu-18.04, windows-2019, windows-2016] + os: [ubuntu-18.04, windows-2019] include: # Prettier run names. - {os: ubuntu-18.04, name: Ubuntu} - - {os: windows-2019, name: Windows Server 2019} - - {os: windows-2016, name: Windows Server 2016} - {cygwin: 1, name: Cygwin} exclude: # No Cygwin on Ubuntu. - {os: ubuntu-18.04, cygwin: 1} - # Cygwin is the same on Windows Server 2016 & 2019. - - {os: windows-2016, cygwin: 1} + # This action is not suitable for Windows hosts, use setup-mingw for + # that. + - {os: windows-2019, cygwin: 0} runs-on: '${{ matrix.os }}' name: '${{ matrix.name }} / ${{ matrix.platform }}' - continue-on-error: ${{ (matrix.os == 'windows-2016' || matrix.os == 'windows-2019') && !matrix.cygwin }} - defaults: run: shell: pwsh -- cgit v1.2.3