Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@
- { os: ubuntu-latest, features: "md5sum,sha1sum,sha224sum,sha256sum,sha384sum,sha512sum,cksum,openssl" }
# macOS: vendored only — system libcrypto needs OPENSSL_DIR
# pointing at Homebrew, which isn't worth wiring up for a smoke test.
# todo: check Windows (MinGW's system openssl)
# MinGW(UCRT): done at make.yml as actual consumer is MSYS2 only

Check warning on line 879 in .github/workflows/CICD.yml

View workflow job for this annotation

GitHub Actions / Style/spelling (ubuntu-latest, feat_os_unix)

WARNING: `cspell`: Unknown word 'UCRT' (file:'.github/workflows/CICD.yml', line:879)
steps:
- uses: actions/checkout@v7
with:
Expand Down
19 changes: 14 additions & 5 deletions .github/workflows/make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -311,15 +311,16 @@
# Upgrading it mid-session changes the shared memory layout (60344 -> 59320),
# which causes subsequent fork() calls to fail with EAGAIN (exit code 254).
shell: 'C:\msys64\usr\bin\bash.exe --login -eo pipefail {0}'
# test Cygwin & MinGW(UCRT) instead of pre-installed Rust.

Check warning on line 314 in .github/workflows/make.yml

View workflow job for this annotation

GitHub Actions / Style/spelling (ubuntu-latest, feat_os_unix)

WARNING: `cspell`: Unknown word 'UCRT' (file:'.github/workflows/make.yml', line:314)
run: |
pacman -Sy --noconfirm --needed base-devel libopenssl make openssl-devel pkgconf rust
pacman -Sy --noconfirm --needed base-devel libopenssl make openssl-devel pkgconf rust \
mingw-w64-ucrt-x86_64-openssl mingw-w64-ucrt-x86_64-rust

Check warning on line 317 in .github/workflows/make.yml

View workflow job for this annotation

GitHub Actions / Style/spelling (ubuntu-latest, feat_os_unix)

WARNING: `cspell`: Unknown word 'ucrt' (file:'.github/workflows/make.yml', line:317)

Check warning on line 317 in .github/workflows/make.yml

View workflow job for this annotation

GitHub Actions / Style/spelling (ubuntu-latest, feat_os_unix)

WARNING: `cspell`: Unknown word 'ucrt' (file:'.github/workflows/make.yml', line:317)
env:
CHERE_INVOKING: 1
- name: "`(x86_64-pc-cygwin) make install PROG_PREFIX=uu- PROFILE=release-small COMPLETIONS=n MANPAGES=n LOCALES=n`"
shell: 'C:\msys64\usr\bin\bash.exe --login -eo pipefail {0}'
run: |
set -x
export OPENSSL_NO_VENDOR=1
export CARGOFLAGS="--features openssl"
DESTDIR=/tmp/c make install PROG_PREFIX=uu- PROFILE=release-small COMPLETIONS=n MANPAGES=n LOCALES=n
# Check that cksum is linked with openssl (e.g. msys-crypto-*.dll)
Expand All @@ -339,6 +340,7 @@
bsdtar -caf x86_64-pc-cygwin.tar.zst -C /tmp/c/usr/local bin
env:
CHERE_INVOKING: 1
OPENSSL_NO_VENDOR: "1"
RUST_BACKTRACE: "1"
- name: Publish
uses: softprops/action-gh-release@v3
Expand All @@ -351,14 +353,21 @@
individual-x86_64-pc-cygwin.tar.zst
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "`make install`"
shell: bash
- name: "`make install` (MinGW UCRT)"

Check warning on line 356 in .github/workflows/make.yml

View workflow job for this annotation

GitHub Actions / Style/spelling (ubuntu-latest, feat_os_unix)

WARNING: `cspell`: Unknown word 'UCRT' (file:'.github/workflows/make.yml', line:356)
shell: 'C:\msys64\usr\bin\bash.exe --login -eo pipefail {0}'
env:
CHERE_INVOKING: 1
MSYSTEM: "UCRT64"

Check warning on line 360 in .github/workflows/make.yml

View workflow job for this annotation

GitHub Actions / Style/spelling (ubuntu-latest, feat_os_unix)

WARNING: `cspell`: Unknown word 'UCRT' (file:'.github/workflows/make.yml', line:360)

Check warning on line 360 in .github/workflows/make.yml

View workflow job for this annotation

GitHub Actions / Style/spelling (ubuntu-latest, feat_os_unix)

WARNING: `cspell`: Unknown word 'MSYSTEM' (file:'.github/workflows/make.yml', line:360)
OPENSSL_DIR: "/ucrt64"

Check warning on line 361 in .github/workflows/make.yml

View workflow job for this annotation

GitHub Actions / Style/spelling (ubuntu-latest, feat_os_unix)

WARNING: `cspell`: Unknown word 'ucrt' (file:'.github/workflows/make.yml', line:361)
OPENSSL_NO_VENDOR: "1"
OPENSSL_STATIC: "0"
run: |
set -x
export CARGOFLAGS="--features openssl"
# Check that we exclude unix programs to avoid build failure
# Windows's stdbuf depends on Cygwin's libstdbuf. So make should not try to install libstdbuf
make install DESTDIR=/tmp/w PREFIX=/tmp/usr MULTICALL=y COMPLETIONS=n MANPAGES=n LOCALES=n \
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"
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"
target/release/coreutils.exe stdbuf --version

test_busybox:
Expand Down
Loading