aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-02 03:25:26 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-02 03:35:12 +0100
commit74a1183273003db551fa57154deb282432a84063 (patch)
tree1830da2995835f240270cbe6e7bdd2672839be8e
parentworkflows/test: actualize runner OSes (diff)
downloadsetup-clang-74a1183273003db551fa57154deb282432a84063.tar.gz
setup-clang-74a1183273003db551fa57154deb282432a84063.zip
workflows/test: disable x86 Cygwin
Diffstat (limited to '')
-rw-r--r--.github/actions/build-foo-cygwin/action.yml9
-rw-r--r--.github/workflows/test.yml6
2 files changed, 3 insertions, 12 deletions
diff --git a/.github/actions/build-foo-cygwin/action.yml b/.github/actions/build-foo-cygwin/action.yml
index 08fb820..5f110c5 100644
--- a/.github/actions/build-foo-cygwin/action.yml
+++ b/.github/actions/build-foo-cygwin/action.yml
@@ -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}'
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 2b58ae3..3194130 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -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 }}'