@@ -5,13 +5,13 @@ name: CICD
55# spell-checker:ignore (jargon) SHAs deps dequote softprops subshell toolchain fuzzers dedupe devel profdata
66# spell-checker:ignore (people) Peltoche rivy dtolnay Anson dawidd
77# spell-checker:ignore (shell/tools) binutils choco clippy dmake esac fakeroot fdesc fdescfs gmake grcov halium lcov libclang libfuse libssl limactl mkdir nextest nocross pacman popd printf pushd redoxer rsync rustc rustfmt rustup shopt sccache utmpdump xargs zstd
8- # spell-checker:ignore (misc) aarch alnum armhf bindir busytest coreutils defconfig DESTDIR gecos getenforce gnueabihf issuecomment maint manpages msys multisize noconfirm nofeatures nullglob onexitbegin onexitend pell runtest Swatinem tempfile testsuite toybox uutils libsystemd codspeed
8+ # spell-checker:ignore (misc) aarch alnum armhf bindir busytest coreutils defconfig DESTDIR gecos getenforce gnueabihf issuecomment maint manpages msys multisize noconfirm nofeatures nullglob onexitbegin onexitend pell runtest Swatinem tempfile testsuite toybox uutils libsystemd codspeed wasip
99
1010env :
1111 PROJECT_NAME : coreutils
1212 PROJECT_DESC : " Core universal (cross-platform) utilities"
1313 PROJECT_AUTH : " uutils"
14- RUST_MIN_SRV : " 1.85 .0"
14+ RUST_MIN_SRV : " 1.88 .0"
1515 # * style job configuration
1616 STYLE_FAIL_ON_FAULT : true # # (bool) fail the build if a style job contains a fault (error or warning); may be overridden on a per-job basis
1717
@@ -322,13 +322,13 @@ jobs:
322322 disable_search : true
323323 flags : makefile,${{ matrix.job.os }}
324324 fail_ci_if_error : false
325- - name : " `make install PROG_PREFIX=uu- PROFILE=release-fast COMPLETIONS=n MANPAGES=n LOCALES=n`"
325+ - name : " `make install PROG_PREFIX=uu- PROFILE=release-small COMPLETIONS=n MANPAGES=n LOCALES=n`"
326326 shell : bash
327327 run : |
328328 set -x
329- DESTDIR=/tmp/ make install PROG_PREFIX=uu- PROFILE=release-fast COMPLETIONS=n MANPAGES=n LOCALES=n
329+ DESTDIR=/tmp/ make install PROG_PREFIX=uu- PROFILE=release-small COMPLETIONS=n MANPAGES=n LOCALES=n
330330 # Check that utils are built with given profile
331- ./target/release-fast /true
331+ ./target/release-small /true
332332 # Check that the progs have prefix
333333 test -f /tmp/usr/local/bin/uu-tty
334334 test -f /tmp/usr/local/libexec/uu-coreutils/libstdbuf.*
@@ -501,10 +501,10 @@ jobs:
501501 - uses : Swatinem/rust-cache@v2
502502 - name : Run sccache-cache
503503 uses : mozilla-actions/sccache-action@v0.0.9
504- - name : " `make install PROFILE=release-fast `"
504+ - name : " `make install PROFILE=release`"
505505 shell : bash
506506 run : |
507- export CARGO_TARGET_DIR=cargo-target RUSTFLAGS="${RUSTFLAGS} -C strip=symbols" PROFILE=release-fast MANPAGES=n COMPLETIONS=n LOCALES=n
507+ export CARGO_TARGET_DIR=cargo-target RUSTFLAGS="${RUSTFLAGS} -C strip=symbols" PROFILE=release MANPAGES=n COMPLETIONS=n LOCALES=n
508508 mkdir -p "${CARGO_TARGET_DIR}" && sudo mount -t tmpfs -o noatime,size=16G tmpfs "${CARGO_TARGET_DIR}"
509509 make install DESTDIR=target/size-release/
510510 make install COMPLETIONS=n MULTICALL=y LN="ln -vf" DESTDIR=target/size-multi-release/
@@ -631,7 +631,7 @@ jobs:
631631 - { os: ubuntu-latest , target: x86_64-unknown-linux-gnu , features: "feat_os_unix,uudoc" , use-cross: no, workspace-tests: true }
632632 - { os: ubuntu-latest , target: x86_64-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross }
633633 - { os: ubuntu-latest , target: x86_64-unknown-redox , features: feat_os_unix_redox , use-cross: redoxer , skip-tests: true }
634- - { os: ubuntu-latest , target: wasm32-unknown-unknown , default-features: false, features: uucore/format, skip-tests: true , skip-package: true, skip-publish : true }
634+ - { os: ubuntu-latest , target: wasm32-wasip1 , default-features: false, features: "basenc,cksum" , skip-tests : true }
635635 - { os: macos-latest , target: aarch64-apple-darwin , features: feat_os_macos, workspace-tests: true } # M1 CPU
636636 # PR #7964: Mac should still build even if the feature is not enabled. Do not publish this.
637637 - { os: macos-latest , target: aarch64-apple-darwin , workspace-tests: true, skip-publish: true } # M1 CPU
@@ -672,7 +672,11 @@ jobs:
672672 STAGING='_staging'
673673 outputs STAGING
674674 # determine EXE suffix
675- EXE_suffix="" ; case '${{ matrix.job.target }}' in *-pc-windows-*) EXE_suffix=".exe" ;; esac;
675+ unset EXE_suffix
676+ case '${{ matrix.job.target }}' in
677+ *-pc-windows-*) EXE_suffix=".exe" ;;
678+ *wasm-*) EXE_suffix=".wasm" ;;
679+ esac;
676680 outputs EXE_suffix
677681 # parse commit reference info
678682 echo GITHUB_REF=${GITHUB_REF}
@@ -868,7 +872,7 @@ jobs:
868872 run : |
869873 ## Package artifact(s)
870874 # binaries
871- cp 'target/${{ matrix.job.target }}/release/${{ env.PROJECT_NAME }}${{ steps.vars.outputs.EXE_suffix }}' '${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_BASENAME }}/'
875+ cp 'target/${{ matrix.job.target }}/release/${{ env.PROJECT_NAME }}'* '${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_BASENAME }}/'
872876 cp 'target/${{ matrix.job.target }}/release/uudoc${{ steps.vars.outputs.EXE_suffix }}' '${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_BASENAME }}/' || :
873877 # README and LICENSE
874878 # * spell-checker:ignore EADME ICENSE
0 commit comments