workflows/test: disable x86 Cygwin
This commit is contained in:
parent
190f39dc69
commit
74a1183273
2 changed files with 3 additions and 12 deletions
9
.github/actions/build-foo-cygwin/action.yml
vendored
9
.github/actions/build-foo-cygwin/action.yml
vendored
|
@ -1,9 +1,5 @@
|
||||||
name: Build foo.exe
|
name: Build foo.exe
|
||||||
description: Build foo.exe (on Cygwin)
|
description: Build foo.exe (on Cygwin)
|
||||||
inputs:
|
|
||||||
platform:
|
|
||||||
description: Target platform
|
|
||||||
required: true
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
|
@ -14,7 +10,6 @@ runs:
|
||||||
echo "$src_dir"
|
echo "$src_dir"
|
||||||
src_dir="$( cygpath -ua "$src_dir" )"
|
src_dir="$( cygpath -ua "$src_dir" )"
|
||||||
cd -- "$src_dir"
|
cd -- "$src_dir"
|
||||||
arch=
|
clang++ --version
|
||||||
[ '${{ matrix.platform }}' == 'x86' ] && arch=-m32
|
clang++ -std=c++14 -o foo.exe foo.cpp
|
||||||
clang++ $arch -std=c++14 -o foo.exe foo.cpp
|
|
||||||
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
|
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
|
||||||
|
|
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -71,10 +71,9 @@ jobs:
|
||||||
cygwin:
|
cygwin:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
platform: [x86, x64]
|
|
||||||
hardlinks: [0, 1]
|
hardlinks: [0, 1]
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
name: 'Cygwin: ${{ matrix.platform }} / hardlinks${{ matrix.hardlinks }}'
|
name: 'Cygwin: hardlinks${{ matrix.hardlinks }}'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -82,12 +81,9 @@ jobs:
|
||||||
uses: egor-tensin/cleanup-path@v1
|
uses: egor-tensin/cleanup-path@v1
|
||||||
- name: Install Cygwin
|
- name: Install Cygwin
|
||||||
uses: egor-tensin/setup-cygwin@v3
|
uses: egor-tensin/setup-cygwin@v3
|
||||||
with:
|
|
||||||
platform: '${{ matrix.platform }}'
|
|
||||||
- name: Set up Clang
|
- name: Set up Clang
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
platform: '${{ matrix.platform }}'
|
|
||||||
cygwin: 1
|
cygwin: 1
|
||||||
cc: 1
|
cc: 1
|
||||||
hardlinks: '${{ matrix.hardlinks }}'
|
hardlinks: '${{ matrix.hardlinks }}'
|
||||||
|
|
Loading…
Add table
Reference in a new issue