aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-01-02 07:11:06 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-01-02 07:11:06 +0300
commitbcc77ae7e416e8a6367187dfe4ebc90db6183876 (patch)
treeaf0be4babe89e398052c0a72601df32f4df15c67
parentworkflows/test.yml: split building and running foo.exe (diff)
downloadsetup-gcc-bcc77ae7e416e8a6367187dfe4ebc90db6183876.tar.gz
setup-gcc-bcc77ae7e416e8a6367187dfe4ebc90db6183876.zip
workflows/test.yml: don't run on Windows hosts
I'm tired of all the red crosses.
-rw-r--r--.github/workflows/test.yml11
1 files 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