Skip to content

Commit df15ba1

Browse files
committed
Add i686-pc-windows-gnu CI
1 parent 8a7c2af commit df15ba1

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
installation:
111111
strategy:
112112
matrix:
113-
build: [ win-msvc, win-gnu, win32-msvc ]
113+
build: [ win-msvc, win-gnu, win32-msvc, win32-gnu ]
114114
include:
115115
- build: win-msvc
116116
os: windows-latest
@@ -124,6 +124,10 @@ jobs:
124124
os: windows-latest
125125
rust: stable
126126
target: i686-pc-windows-msvc
127+
- build: win32-gnu
128+
os: windows-latest
129+
rust: stable
130+
target: i686-pc-windows-gnu
127131
runs-on: ${{ matrix.os }}
128132
steps:
129133
- uses: actions/checkout@v3
@@ -133,10 +137,16 @@ jobs:
133137
toolchain: ${{ matrix.rust }}
134138
targets: ${{ matrix.target }}
135139
- uses: Swatinem/rust-cache@v2
140+
- uses: msys2/setup-msys2@v2
141+
with:
142+
msystem: MINGW${{ startsWith(matrix.target, 'i686-') && '32' || '64' }}
143+
pacboy: cc:p
144+
path-type: inherit
136145
- name: "Install prerequisites"
137146
run: vcpkg install zlib:x64-windows-static-md
138147
- name: "Installation from crates.io: gitoxide"
139148
run: cargo +${{ matrix.rust }} install --target ${{ matrix.target }} --target-dir install-artifacts --debug --force gitoxide
149+
shell: msys2 {0}
140150

141151
lint:
142152
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)