workflows/test: disable x86 Cygwin

This commit is contained in:
Egor Tensin 2023-01-02 03:25:26 +01:00
parent 190f39dc69
commit 74a1183273
2 changed files with 3 additions and 12 deletions

View file

@ -1,9 +1,5 @@
name: Build foo.exe
description: Build foo.exe (on Cygwin)
inputs:
platform:
description: Target platform
required: true
runs:
using: composite
steps:
@ -14,7 +10,6 @@ runs:
echo "$src_dir"
src_dir="$( cygpath -ua "$src_dir" )"
cd -- "$src_dir"
arch=
[ '${{ matrix.platform }}' == 'x86' ] && arch=-m32
clang++ $arch -std=c++14 -o foo.exe foo.cpp
clang++ --version
clang++ -std=c++14 -o foo.exe foo.cpp
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'

View file

@ -71,10 +71,9 @@ jobs:
cygwin:
strategy:
matrix:
platform: [x86, x64]
hardlinks: [0, 1]
runs-on: windows-latest
name: 'Cygwin: ${{ matrix.platform }} / hardlinks${{ matrix.hardlinks }}'
name: 'Cygwin: hardlinks${{ matrix.hardlinks }}'
steps:
- name: Checkout
uses: actions/checkout@v2
@ -82,12 +81,9 @@ jobs:
uses: egor-tensin/cleanup-path@v1
- name: Install Cygwin
uses: egor-tensin/setup-cygwin@v3
with:
platform: '${{ matrix.platform }}'
- name: Set up Clang
uses: ./
with:
platform: '${{ matrix.platform }}'
cygwin: 1
cc: 1
hardlinks: '${{ matrix.hardlinks }}'