Skip to content

Commit f6579a8

Browse files
committed
add matrix to test 32-bit cygwin also
1 parent 4400890 commit f6579a8

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,17 @@ jobs:
4040
Cygwin:
4141
name: Cygwin
4242
runs-on: windows-latest
43+
strategy:
44+
fail-fast: false
45+
matrix:
46+
include:
47+
- { platform: x86_64, hosttype: cygwin.i386-64 }
48+
- { platform: x86, hosttype: cygwin.i386 }
4349
env:
4450
CHERE_INVOKING: 1
4551
CYGWIN_NOWINPATH: 1
4652
CC: gcc
47-
HOSTTYPE: cygwin.i386-64
53+
HOSTTYPE: ${{ matrix.hosttype }}
4854
defaults:
4955
run:
5056
shell: bash -leo pipefail -o igncr {0}
@@ -54,7 +60,8 @@ jobs:
5460
- name: Install Cygwin
5561
uses: cygwin/cygwin-install-action@master
5662
with:
57-
packages: gcc-core gcc-g++ git libiconv-devel ncurses
63+
platform: ${{ matrix.platform }}
64+
packages: gcc-core git libiconv-devel ncurses
5865
- name: Git reset
5966
run: |
6067
git config --global --add safe.directory "$(pwd)" && git reset --hard

0 commit comments

Comments
 (0)