@@ -122,7 +122,7 @@ jobs:
122122 - name : Install/setup prerequisites
123123 shell : bash
124124 run : |
125- sudo apt-get -y update ; sudo apt-get -y install libselinux1-dev
125+ sudo apt-get -y update ; sudo apt-get -y install gcc-aarch64-linux-gnu libselinux1-dev
126126 - name : Initialize workflow variables
127127 id : vars
128128 shell : bash
@@ -269,6 +269,8 @@ jobs:
269269 with :
270270 persist-credentials : false
271271 - uses : dtolnay/rust-toolchain@stable
272+ with :
273+ target : aarch64-unknown-linux-gnu
272274 - uses : taiki-e/install-action@nextest
273275 - uses : Swatinem/rust-cache@v2
274276 - name : Install/setup prerequisites
@@ -287,7 +289,10 @@ jobs:
287289 if [[ -d target ]]; then
288290 mv -T target target.cache
289291 fi
290- # Actually do the build
292+ # Check that we don't cross-build uudoc
293+ # also do not try to generate manpages for part of hashsum
294+ make install-manpages PREFIX=/tmp/usr UTILS=true RUSTC_ARCH="--target aarch64-unknown-linux-gnu"
295+ # build (host)
291296 make build
292297 echo "Check that target directory will be ignored by backup tools"
293298 test -f target/CACHEDIR.TAG
@@ -549,12 +554,12 @@ jobs:
549554 previous_multisize=$(cat dl/size-result.json | jq -r '.[] | .multisize')
550555 check 'multicall binary' "$multisize" "$previous_multisize" 'size-result.json'
551556 - name : Upload the individual size result
552- uses : actions/upload-artifact@v4
557+ uses : actions/upload-artifact@v5
553558 with :
554559 name : individual-size-result
555560 path : individual-size-result.json
556561 - name : Upload the size result
557- uses : actions/upload-artifact@v4
562+ uses : actions/upload-artifact@v5
558563 with :
559564 name : size-result
560565 path : size-result.json
@@ -845,7 +850,7 @@ jobs:
845850 env :
846851 RUST_BACKTRACE : " 1"
847852 - name : Archive executable artifacts
848- uses : actions/upload-artifact@v4
853+ uses : actions/upload-artifact@v5
849854 with :
850855 name : ${{ env.PROJECT_NAME }}-${{ matrix.job.target }}${{ steps.vars.outputs.ARTIFACTS_SUFFIX }}
851856 path : target/${{ matrix.job.target }}/release/${{ env.PROJECT_NAME }}${{ steps.vars.outputs.EXE_suffix }}
@@ -961,17 +966,17 @@ jobs:
961966 HASH=$(sha1sum '${{ steps.vars.outputs.TEST_SUMMARY_FILE }}' | cut --delim=" " -f 1)
962967 echo "HASH=${HASH}" >> $GITHUB_OUTPUT
963968 - name : Reserve SHA1/ID of 'test-summary'
964- uses : actions/upload-artifact@v4
969+ uses : actions/upload-artifact@v5
965970 with :
966971 name : " ${{ steps.summary.outputs.HASH }}"
967972 path : " ${{ steps.vars.outputs.TEST_SUMMARY_FILE }}"
968973 - name : Reserve test results summary
969- uses : actions/upload-artifact@v4
974+ uses : actions/upload-artifact@v5
970975 with :
971976 name : busybox-test-summary
972977 path : " ${{ steps.vars.outputs.TEST_SUMMARY_FILE }}"
973978 - name : Upload json results
974- uses : actions/upload-artifact@v4
979+ uses : actions/upload-artifact@v5
975980 with :
976981 name : busybox-result.json
977982 path : ${{ steps.vars.outputs.TEST_SUMMARY_FILE }}
@@ -1054,17 +1059,17 @@ jobs:
10541059 HASH=$(sha1sum '${{ steps.vars.outputs.TEST_SUMMARY_FILE }}' | cut --delim=" " -f 1)
10551060 echo "HASH=${HASH}" >> $GITHUB_OUTPUT
10561061 - name : Reserve SHA1/ID of 'test-summary'
1057- uses : actions/upload-artifact@v4
1062+ uses : actions/upload-artifact@v5
10581063 with :
10591064 name : " ${{ steps.summary.outputs.HASH }}"
10601065 path : " ${{ steps.vars.outputs.TEST_SUMMARY_FILE }}"
10611066 - name : Reserve test results summary
1062- uses : actions/upload-artifact@v4
1067+ uses : actions/upload-artifact@v5
10631068 with :
10641069 name : toybox-test-summary
10651070 path : " ${{ steps.vars.outputs.TEST_SUMMARY_FILE }}"
10661071 - name : Upload json results
1067- uses : actions/upload-artifact@v4
1072+ uses : actions/upload-artifact@v5
10681073 with :
10691074 name : toybox-result.json
10701075 path : ${{ steps.vars.outputs.TEST_SUMMARY_FILE }}
0 commit comments