aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
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 }}'