@@ -309,7 +309,7 @@ jobs:
309309 ./target/release-fast/true
310310 # Check that the progs have prefix
311311 test -f /tmp/usr/local/bin/uu-tty
312- test -f /tmp/usr/local/libexec/uu-coreutils/libstdbuf.*
312+ test -f /tmp/usr/local/libexec/uu-coreutils/libstdbuf.*
313313 # Check that the manpage is not present
314314 ! test -f /tmp/usr/local/share/man/man1/uu-whoami.1
315315 # Check that the completion is not present
@@ -576,6 +576,7 @@ jobs:
576576 - { os: ubuntu-latest , target: arm-unknown-linux-gnueabihf , features: feat_os_unix_gnueabihf , use-cross: use-cross , skip-tests: true }
577577 - { os: ubuntu-24.04-arm , target: aarch64-unknown-linux-gnu , features: feat_os_unix_gnueabihf }
578578 - { os: ubuntu-latest , target: aarch64-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross , skip-tests: true }
579+ - { os: ubuntu-latest , target: riscv64gc-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross , skip-tests: true }
579580 # - { os: ubuntu-latest , target: x86_64-unknown-linux-gnu , features: feat_selinux , use-cross: use-cross }
580581 - { os: ubuntu-latest , target: i686-unknown-linux-gnu , features: "feat_os_unix,test_risky_names", use-cross: use-cross }
581582 - { os: ubuntu-latest , target: i686-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross }
@@ -636,6 +637,7 @@ jobs:
636637 unset TARGET_ARCH
637638 case '${{ matrix.job.target }}' in
638639 aarch64-*) TARGET_ARCH=arm64 ;;
640+ riscv64gc-*) TARGET_ARCH=riscv64 ;;
639641 arm-*-*hf) TARGET_ARCH=armhf ;;
640642 i686-*) TARGET_ARCH=i686 ;;
641643 x86_64-*) TARGET_ARCH=x86_64 ;;
@@ -700,6 +702,7 @@ jobs:
700702 STRIP="strip"
701703 case ${{ matrix.job.target }} in
702704 aarch64-*-linux-*) STRIP="aarch64-linux-gnu-strip" ;;
705+ riscv64gc-*-linux-*) STRIP="riscv64-linux-gnu-strip" ;;
703706 arm-*-linux-gnueabihf) STRIP="arm-linux-gnueabihf-strip" ;;
704707 *-pc-windows-msvc) STRIP="" ;;
705708 esac;
@@ -726,6 +729,10 @@ jobs:
726729 sudo apt-get -y update
727730 sudo apt-get -y install gcc-aarch64-linux-gnu
728731 ;;
732+ riscv64gc-unknown-linux-*)
733+ sudo apt-get -y update
734+ sudo apt-get -y install gcc-riscv64-linux-gnu
735+ ;;
729736 *-redox*)
730737 sudo apt-get -y update
731738 sudo apt-get -y install fuse3 libfuse-dev
@@ -814,6 +821,8 @@ jobs:
814821 if : matrix.job.skip-tests != true
815822 shell : bash
816823 run : |
824+ command -v sudo && sudo rm -rf /usr/local/lib/android /usr/share/dotnet # avoid no space left
825+ df -h ||:
817826 ## Test individual utilities
818827 ${{ steps.vars.outputs.CARGO_CMD }} ${{ steps.vars.outputs.CARGO_CMD_OPTIONS }} test --target=${{ matrix.job.target }} \
819828 ${{ matrix.job.cargo-options }} ${{ steps.dep_vars.outputs.CARGO_UTILITY_LIST_OPTIONS }}
@@ -1194,7 +1203,8 @@ jobs:
11941203 - name : build and test all features individually
11951204 shell : bash
11961205 run : |
1197- command -v sudo && sudo rm -rf /usr/share/dotnet # avoid no space left
1206+ command -v sudo && sudo rm -rf /usr/local/lib/android /usr/share/dotnet # avoid no space left
1207+ df -h ||:
11981208 CARGO_FEATURES_OPTION='--features=${{ matrix.job.features }}' ;
11991209 for f in $(util/show-utils.sh ${CARGO_FEATURES_OPTION})
12001210 do
0 commit comments