@@ -149,7 +149,7 @@ jobs:
149149 shell : bash
150150 run : |
151151 RUSTDOCFLAGS="-Dwarnings" cargo doc ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} --no-deps --workspace --document-private-items
152- - uses : DavidAnson/markdownlint-cli2-action@v21
152+ - uses : DavidAnson/markdownlint-cli2-action@v22
153153 with :
154154 fix : " true"
155155 globs : |
@@ -300,22 +300,22 @@ jobs:
300300 run : make nextest PROFILE=ci CARGOFLAGS="--hide-progress-bar"
301301 env :
302302 RUST_BACKTRACE : " 1"
303-
304- - name : " `make install PROFILE=release-fast COMPLETIONS=n MANPAGES=n LOCALES=n`"
303+ - name : " `make install PROG_PREFIX=uu- PROFILE=release-fast COMPLETIONS=n MANPAGES=n LOCALES=n`"
305304 shell : bash
306305 run : |
307306 set -x
308- DESTDIR=/tmp/ make PROFILE=release-fast COMPLETIONS=n MANPAGES=n LOCALES=n install
307+ DESTDIR=/tmp/ make install PROG_PREFIX=uu- PROFILE=release-fast COMPLETIONS=n MANPAGES=n LOCALES=n
309308 # Check that utils are built with given profile
310309 ./target/release-fast/true
311- # Check that the utils are present
312- test -f /tmp/usr/local/bin/tty
310+ # Check that the progs have prefix
311+ test -f /tmp/usr/local/bin/uu-tty
312+ test -f /tmp/usr/local/libexec/uu-coreutils/libstdbuf.*
313313 # Check that the manpage is not present
314- ! test -f /tmp/usr/local/share/man/man1/whoami.1
314+ ! test -f /tmp/usr/local/share/man/man1/uu- whoami.1
315315 # Check that the completion is not present
316- ! test -f /tmp/usr/local/share/zsh/site-functions/_install
317- ! test -f /tmp/usr/local/share/bash-completion/completions/head.bash
318- ! test -f /tmp/usr/local/share/fish/vendor_completions.d/cat.fish
316+ ! test -f /tmp/usr/local/share/zsh/site-functions/_uu-install
317+ ! test -f /tmp/usr/local/share/bash-completion/completions/uu- head.bash
318+ ! test -f /tmp/usr/local/share/fish/vendor_completions.d/uu- cat.fish
319319 env :
320320 RUST_BACKTRACE : " 1"
321321 - name : " `make install`"
@@ -502,14 +502,14 @@ jobs:
502502 --arg multisize "$SIZE_MULTI" \
503503 '{($date): { sha: $sha, size: $size, multisize: $multisize, }}' > size-result.json
504504 - name : Download the previous individual size result
505- uses : dawidd6/action-download-artifact@v11
505+ uses : dawidd6/action-download-artifact@v12
506506 with :
507507 workflow : CICD.yml
508508 name : individual-size-result
509509 repo : uutils/coreutils
510510 path : dl
511511 - name : Download the previous size result
512- uses : dawidd6/action-download-artifact@v11
512+ uses : dawidd6/action-download-artifact@v12
513513 with :
514514 workflow : CICD.yml
515515 name : size-result
@@ -546,12 +546,12 @@ jobs:
546546 previous_multisize=$(cat dl/size-result.json | jq -r '.[] | .multisize')
547547 check 'multicall binary' "$multisize" "$previous_multisize" 'size-result.json'
548548 - name : Upload the individual size result
549- uses : actions/upload-artifact@v5
549+ uses : actions/upload-artifact@v6
550550 with :
551551 name : individual-size-result
552552 path : individual-size-result.json
553553 - name : Upload the size result
554- uses : actions/upload-artifact@v5
554+ uses : actions/upload-artifact@v6
555555 with :
556556 name : size-result
557557 path : size-result.json
@@ -585,7 +585,7 @@ jobs:
585585 - { os: ubuntu-latest , target: x86_64-unknown-redox , features: feat_os_unix_redox , use-cross: redoxer , skip-tests: true }
586586 - { os: ubuntu-latest , target: wasm32-unknown-unknown , default-features: false, features: uucore/format, skip-tests: true, skip-package: true, skip-publish: true }
587587 - { os: macos-latest , target: aarch64-apple-darwin , features: feat_os_macos, workspace-tests: true } # M1 CPU
588- # PR #7964: Mac should still build even if the feature is not enabled. Do not publish this.
588+ # PR #7964: Mac should still build even if the feature is not enabled. Do not publish this.
589589 - { os: macos-latest , target: aarch64-apple-darwin , workspace-tests: true, skip-publish: true } # M1 CPU
590590 - { os: macos-latest , target: x86_64-apple-darwin , features: feat_os_macos, workspace-tests: true }
591591 - { os: windows-latest , target: i686-pc-windows-msvc , features: feat_os_windows }
@@ -712,7 +712,6 @@ jobs:
712712 shell : bash
713713 run : |
714714 ## Create build/work space
715- mkdir -p '${{ steps.vars.outputs.STAGING }}'
716715 mkdir -p '${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_BASENAME }}'
717716 - name : Install/setup prerequisites
718717 shell : bash
@@ -821,7 +820,7 @@ jobs:
821820 env :
822821 RUST_BACKTRACE : " 1"
823822 - name : Archive executable artifacts
824- uses : actions/upload-artifact@v5
823+ uses : actions/upload-artifact@v6
825824 with :
826825 name : ${{ env.PROJECT_NAME }}-${{ matrix.job.target }}${{ steps.vars.outputs.ARTIFACTS_SUFFIX }}
827826 path : target/${{ matrix.job.target }}/release/${{ env.PROJECT_NAME }}${{ steps.vars.outputs.EXE_suffix }}
@@ -921,17 +920,17 @@ jobs:
921920 HASH=$(sha1sum '${{ steps.vars.outputs.TEST_SUMMARY_FILE }}' | cut --delim=" " -f 1)
922921 echo "HASH=${HASH}" >> $GITHUB_OUTPUT
923922 - name : Reserve SHA1/ID of 'test-summary'
924- uses : actions/upload-artifact@v5
923+ uses : actions/upload-artifact@v6
925924 with :
926925 name : " ${{ steps.summary.outputs.HASH }}"
927926 path : " ${{ steps.vars.outputs.TEST_SUMMARY_FILE }}"
928927 - name : Reserve test results summary
929- uses : actions/upload-artifact@v5
928+ uses : actions/upload-artifact@v6
930929 with :
931930 name : busybox-test-summary
932931 path : " ${{ steps.vars.outputs.TEST_SUMMARY_FILE }}"
933932 - name : Upload json results
934- uses : actions/upload-artifact@v5
933+ uses : actions/upload-artifact@v6
935934 with :
936935 name : busybox-result.json
937936 path : ${{ steps.vars.outputs.TEST_SUMMARY_FILE }}
@@ -1014,17 +1013,17 @@ jobs:
10141013 HASH=$(sha1sum '${{ steps.vars.outputs.TEST_SUMMARY_FILE }}' | cut --delim=" " -f 1)
10151014 echo "HASH=${HASH}" >> $GITHUB_OUTPUT
10161015 - name : Reserve SHA1/ID of 'test-summary'
1017- uses : actions/upload-artifact@v5
1016+ uses : actions/upload-artifact@v6
10181017 with :
10191018 name : " ${{ steps.summary.outputs.HASH }}"
10201019 path : " ${{ steps.vars.outputs.TEST_SUMMARY_FILE }}"
10211020 - name : Reserve test results summary
1022- uses : actions/upload-artifact@v5
1021+ uses : actions/upload-artifact@v6
10231022 with :
10241023 name : toybox-test-summary
10251024 path : " ${{ steps.vars.outputs.TEST_SUMMARY_FILE }}"
10261025 - name : Upload json results
1027- uses : actions/upload-artifact@v5
1026+ uses : actions/upload-artifact@v6
10281027 with :
10291028 name : toybox-result.json
10301029 path : ${{ steps.vars.outputs.TEST_SUMMARY_FILE }}
@@ -1100,7 +1099,9 @@ jobs:
11001099
11011100 case '${{ matrix.job.os }}' in
11021101 ubuntu-latest)
1103- sudo apt-get -y update ; sudo apt-get -y install libselinux1-dev
1102+ # selinux and systemd headers needed to build tests
1103+ sudo apt-get -y update
1104+ sudo apt-get -y install libselinux1-dev libsystemd-dev
11041105 # pinky is a tool to show logged-in users from utmp, and gecos fields from /etc/passwd.
11051106 # In GitHub Action *nix VMs, no accounts log in, even the "runner" account that runs the commands, and "system boot" entry is missing.
11061107 # The account also has empty gecos fields.
@@ -1120,11 +1121,6 @@ jobs:
11201121 ;;
11211122 esac
11221123
1123- case '${{ matrix.job.os }}' in
1124- # Update binutils if MinGW due to https://github.com/rust-lang/rust/issues/112368
1125- windows-latest) C:/msys64/usr/bin/pacman.exe -Sy --needed mingw-w64-x86_64-gcc --noconfirm ; echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH ;;
1126- esac
1127-
11281124 ## Install the llvm-tools component to get access to `llvm-profdata`
11291125 rustup component add llvm-tools
11301126
@@ -1219,7 +1215,7 @@ jobs:
12191215 uses : lima-vm/lima-actions/setup@v1
12201216 id : lima-actions-setup
12211217 - name : Cache ~/.cache/lima
1222- uses : actions/cache@v4
1218+ uses : actions/cache@v5
12231219 with :
12241220 path : ~/.cache/lima
12251221 key : lima-${{ steps.lima-actions-setup.outputs.version }}
0 commit comments