Skip to content

Commit f2cee24

Browse files
lazkanaveen521kk
authored andcommitted
CI: move gcc cross build to Ubuntu for newer mingw-w64
The build requires headers that are only available in v12 (processsnapshot.h) and Arch is still on v12. So move things to Ubuntu. Similarely to other cross builds remove the system libs configure flags, those were never there and now fail properly with the 3.12 build system.
1 parent 61cf227 commit f2cee24

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/mingw.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,21 @@ jobs:
161161
cross-gcc-x86_64:
162162
runs-on: ubuntu-latest
163163
container:
164-
image: archlinux:base-devel
164+
image: ubuntu:24.10
165165
steps:
166166
- uses: actions/checkout@v3
167167
- name: Install deps
168168
run: |
169-
pacman --noconfirm -Suuy
170-
pacman --needed --noconfirm -S mingw-w64-gcc autoconf-archive autoconf automake zip
169+
apt-get update
170+
DEBIAN_FRONTEND=noninteractive apt-get install -y \
171+
gcc-mingw-w64-x86-64 \
172+
g++-mingw-w64-x86-64 \
173+
autoconf-archive \
174+
autoconf \
175+
automake \
176+
zip \
177+
make \
178+
pkg-config
171179
172180
- uses: actions/setup-python@v4
173181
with:
@@ -188,9 +196,6 @@ jobs:
188196
--host=x86_64-w64-mingw32 \
189197
--build=x86_64-pc-linux-gnu \
190198
--enable-shared \
191-
--with-system-expat \
192-
--with-system-ffi \
193-
--with-system-libmpdec \
194199
--without-ensurepip \
195200
--enable-loadable-sqlite-extensions \
196201
--with-build-python=yes

0 commit comments

Comments
 (0)