Skip to content

Commit e8b356f

Browse files
committed
ci: fix build_makefile-windows-cygwin job
1 parent 720381d commit e8b356f

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

‎.github/workflows/make.yml‎

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,22 @@ jobs:
301301
# msys2-runtime must be upgraded in a separate bash session before the build.
302302
# Upgrading it mid-session changes the shared memory layout (60344 -> 59320),
303303
# which causes subsequent fork() calls to fail with EAGAIN (exit code 254).
304+
shell: 'C:\msys64\usr\bin\bash.exe --login -eo pipefail {0}'
305+
run: |
306+
pacman -Syu --noconfirm || true
307+
- name: Install build dependencies
304308
shell: 'C:\msys64\usr\bin\bash.exe --login -eo pipefail {0}'
305309
# test Cygwin & MinGW(UCRT) instead of pre-installed Rust.
306310
run: |
307-
pacman -Sy --noconfirm --needed base-devel libopenssl make openssl-devel pkgconf rust \
308-
mingw-w64-ucrt-x86_64-openssl mingw-w64-ucrt-x86_64-rust
311+
pacman -S --noconfirm --needed \
312+
base-devel \
313+
libopenssl \
314+
make \
315+
mingw-w64-ucrt-x86_64-openssl \
316+
mingw-w64-ucrt-x86_64-rust \
317+
openssl-devel \
318+
pkgconf \
319+
rust
309320
env:
310321
CHERE_INVOKING: 1
311322
- name: "`(x86_64-pc-cygwin) make install PROG_PREFIX=uu- PROFILE=release-small COMPLETIONS=n MANPAGES=n LOCALES=n`"

0 commit comments

Comments
 (0)