@@ -311,16 +311,15 @@ jobs:
311311 # Upgrading it mid-session changes the shared memory layout (60344 -> 59320),
312312 # which causes subsequent fork() calls to fail with EAGAIN (exit code 254).
313313 shell : ' C:\msys64\usr\bin\bash.exe --login -eo pipefail {0}'
314- # test Cygwin & MinGW(UCRT) instead of pre-installed Rust.
315314 run : |
316- pacman -Sy --noconfirm --needed base-devel libopenssl make openssl-devel pkgconf rust \
317- mingw-w64-ucrt-x86_64-openssl mingw-w64-ucrt-x86_64-rust
315+ pacman -Sy --noconfirm --needed base-devel libopenssl make openssl-devel pkgconf rust
318316 env :
319317 CHERE_INVOKING : 1
320318 - name : " `(x86_64-pc-cygwin) make install PROG_PREFIX=uu- PROFILE=release-small COMPLETIONS=n MANPAGES=n LOCALES=n`"
321319 shell : ' C:\msys64\usr\bin\bash.exe --login -eo pipefail {0}'
322320 run : |
323321 set -x
322+ export OPENSSL_NO_VENDOR=1
324323 export CARGOFLAGS="--features openssl"
325324 DESTDIR=/tmp/c make install PROG_PREFIX=uu- PROFILE=release-small COMPLETIONS=n MANPAGES=n LOCALES=n
326325 # Check that cksum is linked with openssl (e.g. msys-crypto-*.dll)
@@ -340,7 +339,6 @@ jobs:
340339 bsdtar -caf x86_64-pc-cygwin.tar.zst -C /tmp/c/usr/local bin
341340 env :
342341 CHERE_INVOKING : 1
343- OPENSSL_NO_VENDOR : " 1"
344342 RUST_BACKTRACE : " 1"
345343 - name : Publish
346344 uses : softprops/action-gh-release@v3
@@ -353,21 +351,14 @@ jobs:
353351 individual-x86_64-pc-cygwin.tar.zst
354352 env :
355353 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
356- - name : " `make install` (MinGW UCRT)"
357- shell : ' C:\msys64\usr\bin\bash.exe --login -eo pipefail {0}'
358- env :
359- CHERE_INVOKING : 1
360- MSYSTEM : " UCRT64"
361- OPENSSL_DIR : " /ucrt64"
362- OPENSSL_NO_VENDOR : " 1"
363- OPENSSL_STATIC : " 0"
354+ - name : " `make install`"
355+ shell : bash
364356 run : |
365357 set -x
366- export CARGOFLAGS="--features openssl"
367358 # Check that we exclude unix programs to avoid build failure
368359 # Windows's stdbuf depends on Cygwin's libstdbuf. So make should not try to install libstdbuf
369360 make install DESTDIR=/tmp/w PREFIX=/tmp/usr MULTICALL=y COMPLETIONS=n MANPAGES=n LOCALES=n \
370- SKIP_UTILS="arch b2sum base32 base64 basename basenc cat comm cp csplit cut date dd df dir dircolors dirname du echo env expand expr factor false fmt fold head hostname hostid join link ln ls md5sum mkdir mktemp more mv nl nproc numfmt od paste pathchk pr printenv printf ptx pwd readlink realpath rm rmdir seq sha1sum sha224sum sha256sum sha384sum sha512sum shred shuf sleep sort split sum sync tac tail tee test touch tr true truncate tsort tty uname unexpand uniq unlink vdir wc whoami yes"
361+ SKIP_UTILS="arch b2sum base32 base64 basename basenc cat cksum comm cp csplit cut date dd df dir dircolors dirname du echo env expand expr factor false fmt fold head hostname hostid join link ln ls md5sum mkdir mktemp more mv nl nproc numfmt od paste pathchk pr printenv printf ptx pwd readlink realpath rm rmdir seq sha1sum sha224sum sha256sum sha384sum sha512sum shred shuf sleep sort split sum sync tac tail tee test touch tr true truncate tsort tty uname unexpand uniq unlink vdir wc whoami yes"
371362 target/release/coreutils.exe stdbuf --version
372363
373364 test_busybox :
0 commit comments