Skip to content

Commit 158591c

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

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,16 @@ jobs:
4040
Cygwin:
4141
name: Cygwin
4242
runs-on: windows-latest
43+
strategy:
44+
matrix:
45+
include:
46+
- { platform: x86_64, hosttype: cygwin.i386-64 }
47+
- { platform: x86, hosttype: cygwin.i386 }
4348
env:
4449
CHERE_INVOKING: 1
4550
CYGWIN_NOWINPATH: 1
4651
CC: gcc
47-
HOSTTYPE: cygwin.i386-64
52+
HOSTTYPE: ${{ matrix.hosttype }}
4853
defaults:
4954
run:
5055
shell: bash -leo pipefail -o igncr {0}
@@ -54,7 +59,8 @@ jobs:
5459
- name: Install Cygwin
5560
uses: cygwin/cygwin-install-action@master
5661
with:
57-
packages: gcc-core gcc-g++ git libiconv-devel ncurses
62+
platform: ${{ matrix.platform }}
63+
packages: gcc-core git libiconv-devel ncurses
5864
- name: Git reset
5965
run: |
6066
git config --global --add safe.directory "$(pwd)" && git reset --hard

0 commit comments

Comments
 (0)