Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
4d0c0b3
install: add error messages for failed-to-remove and cannot-stat.
sgmarz Jan 2, 2026
8430b54
install: add error messages for failed-to-remove and cannot-stat in F…
sgmarz Jan 2, 2026
dc70cf7
install: add error messages to align with GNU for failed-to-remove an…
sgmarz Jan 2, 2026
7095668
install: fix offending code that failed tests. Several cross-compatib…
sgmarz Jan 3, 2026
46c9312
install: run 'cargo fmt' on new error message code.
sgmarz Jan 4, 2026
4a5e03e
DEVELOPMENT.md: mention nightly requirement for code coverage (#9919)
nutthawit Dec 30, 2025
6a2cfca
feat(dd): add first benchmark suite for performance validation (#9136)
naoNao89 Dec 30, 2025
82b312a
nice: use Command::exec() instead of libc::execvp() (#9612)
Ecordonnier Dec 30, 2025
6f71e4d
du: fix -l/--count-links option not counting hardlinks separately (#9…
WaterWhisperer Dec 30, 2025
d90e54a
cp: fix preserve-gid when canonicalize fails due to inaccessible pare…
ChrisDryden Dec 30, 2025
e442bfc
nice: simplify the code
sylvestre Dec 30, 2025
0599920
chore(deps): update rust crate self_cell to v1.2.2
renovate[bot] Dec 30, 2025
48173a0
chore(deps): update rust crate clap_complete to v4.5.64
renovate[bot] Dec 30, 2025
15c9033
Merge pull request #9943 from oech3/patch-4
oech3 Dec 31, 2025
a4fee18
CICD.yml: Avoid no space left again (#9939)
oech3 Dec 31, 2025
1baa87f
benchmark: move some functions in uucore
sylvestre Dec 30, 2025
71616c1
benchmark: don't pass the args in the divan function
sylvestre Dec 30, 2025
4fbf9d1
GnuTests: Drop texinfo dep
Dec 31, 2025
5e82ac5
GnuTests.yml: install Rust without rustfmt (#9947)
cakebaker Dec 31, 2025
d7a258f
openbsd.yml: Replace cargo related cache deletion
oech3 Dec 29, 2025
89f7718
tac: fix error message (#9942)
cerdelen Dec 31, 2025
91d8861
stty: use stdin for TTY operations instead of /dev/tty (#9881)
ChrisDryden Dec 31, 2025
21dda92
Use libc::UTIME_NOW in touch when updating time to now (#9870)
iburaky2 Dec 31, 2025
b68847b
csplit: detect and report write errors (#9855)
ChrisDryden Dec 31, 2025
d9d9a0e
fix(sort): split locale benchmarks into separate files per locale (#9…
ChrisDryden Dec 31, 2025
e15fd89
test(more): Fix test_from_line_option race condition by increasing PT…
naoNao89 Dec 31, 2025
fbf849b
GnuTests.yml: Drop autopoint
oech3 Jan 1, 2026
2be3404
clippy: fix uninlined_format_args lint
xtqqczze Jan 1, 2026
c9c063d
uucore: switch to `BigDecimal::powi` implementation
xtqqczze Dec 31, 2025
a70edc2
Revert "df: disable clippy::assigning_clones on OpenBSD"
xtqqczze Dec 31, 2025
f1722e0
Revert "cp: disable clippy::assigning_clones on OpenBSD"
xtqqczze Dec 31, 2025
53448d3
Revert "tail: disable clippy::assigning_clones on OpenBSD"
xtqqczze Dec 31, 2025
08e4910
test: fixing unary operators that are getting parsed as argument inst…
georgepaulsen Jan 1, 2026
b5fb615
mv: support moving folder containing symlinks to different filesystem…
yuankunzhang Jan 1, 2026
27bc745
GnuTests.yml: Drop git from VM
oech3 Jan 1, 2026
92832f2
chmod: fix error handling if multiple files are handled (#9793)
cerdelen Jan 1, 2026
5c45d87
pr: allow character, block, and fifo devices as input (#9946)
SaathwikDasari Jan 1, 2026
5cd1d6a
build-gnu.sh: Skip make at SELinux tests (#9970)
oech3 Jan 1, 2026
d08481a
build-gnu.sh: Drop a variable & cleanup (#9953)
oech3 Jan 1, 2026
b5a60a9
Unexpand: use byte count for multibyte characters for column width wh…
JaneIllario Jan 1, 2026
82b80a1
cp: symlink flags fixing conflicting flag logic to use last flag (#9960)
Dylans123 Jan 1, 2026
1a5a140
hashsum: Drop benches as covered by cksum benches (#9842)
oech3 Jan 1, 2026
a9b7330
Bump signal-hook from 0.3.18 to 0.4.1
cakebaker Jan 1, 2026
e05d925
deny.toml: add signal-hook to skip list
cakebaker Jan 1, 2026
051d180
Merge pull request #9785 from cerdelen/fix_date_military_parsing
cerdelen Jan 1, 2026
9ca3afe
split: Added error when attempting to create file that already exists…
max-amb Jan 2, 2026
0cb77a7
perf(tsort): avoid reading the whole input into memory and intern str…
anastygnome Dec 27, 2025
4168f9a
perf(tsort): avoid redundant check on input
anastygnome Jan 1, 2026
c74a83c
perf(tsort): switch to the Bucket interning Backend for better lookup…
anastygnome Jan 2, 2026
c0f2523
rmdir: Remove all trailing slashes when checking for symlinks (#9983)
cerdelen Jan 2, 2026
5f0eb22
date: add benchmark (#9911)
CrazyRoka Jan 2, 2026
25a2074
GnuTests.yml: use minimal Rust profile in VM
cakebaker Jan 1, 2026
a99f36f
benchmarks: use simulation mode
cakebaker Jan 2, 2026
d2452d9
chore(deps): update rust crate clap to v4.5.54
renovate[bot] Jan 3, 2026
315f483
date benchmark: keep only one value
sylvestre Jan 2, 2026
1a6600e
hashsum: Move --ckeck's deps to clap
Jan 2, 2026
3e1cfd4
date: avoid double parsing when resolving timezone abbreviations
CrazyRoka Jan 2, 2026
b57fba1
pr: add -b flag for backwards compatibility
ChrisDryden Jan 2, 2026
309c741
uucore/uptime: remove unreachable code on Windows
cakebaker Jan 2, 2026
0723187
Merge pull request #9990 from cerdelen/chmod_recursive_hyper_nested_dirs
cerdelen Jan 3, 2026
9f79c19
df: add binfmt_misc to is_dummy_filesystem (#9975)
van-sprundel Jan 3, 2026
a5ee408
join: add benchmarks (#10005)
WaterWhisperer Jan 3, 2026
60ddff8
cksum: Move --ckeck's deps by clap
Jan 2, 2026
d3ea22f
Merge pull request #9999 from oech3/cksum-text-clap-untagged
oech3 Jan 3, 2026
64ffd97
join: add benchmark with the French locale (#10025)
WaterWhisperer Jan 3, 2026
4479afe
CI: Default build artifact for riscv64+musl on CICD.yml (#10029)
ffgan Jan 3, 2026
a446cb2
style(uudoc): update header formatting for options and examples (#10004)
hwhsu1231 Jan 3, 2026
d3f384d
perf(date): wrap stdout in BufWriter to improve batch processing (#9994)
CrazyRoka Jan 3, 2026
12f1675
fix(stat): constrain mount point fetching
Alonely0 Oct 29, 2025
589b1f2
fix(stat): fix default opts and several format errors
Alonely0 Oct 29, 2025
b2ebf43
fix(stat): fix % escaping
Alonely0 Oct 29, 2025
22b5c1f
chore(stat): Add test case for percent escaping
Alonely0 Oct 29, 2025
308d33a
fix(stat, mknod): replace custom (flawed in stat) logic with libc's.
Alonely0 Dec 31, 2025
22f7231
chore(stat): add test case for file metadata
Alonely0 Dec 31, 2025
3cf9410
cat: fix write error handling to propagate errors instead of panicking
rynewang Jan 3, 2026
b1c662b
Bump libc to 0.2.178 with fix for FreeBSD
Jan 3, 2026
4645864
shuf: optimize numeric output by avoiding write!()
CrazyRoka Jan 4, 2026
ab0a294
ci: set -no-metrics for Android emulator
cakebaker Jan 4, 2026
f10454b
clippy: allow "cygwin" as value for "target_os"
cakebaker Jan 4, 2026
7583ea1
libstdbuf: enable workspace lints
cakebaker Jan 4, 2026
1c3f202
pr: use 72 char line width for all page headers
jfinkels Jan 4, 2026
b50288d
cksum.rs: Simple default tag variable
oech3 Jan 4, 2026
c20f796
cksum,hashsum: Drop a message replaced by clap
oech3 Jan 4, 2026
b639fe4
build-gnu.sh: Let md5sum.pl clap compatible
Jan 5, 2026
b264ac8
uniq: optimize memory usage for ignore-case comparison
CrazyRoka Jan 4, 2026
94047cd
cp: Added test for permissions copying to an existing file
max-amb Jan 4, 2026
ebee231
dd: fix nocache flag handling at EOF (#9818)
ChrisDryden Jan 5, 2026
4a48691
chore(deps): update rust crate jiff to v0.2.18
renovate[bot] Jan 6, 2026
a449027
chore(deps): update rust crate proc-macro2 to v1.0.105
renovate[bot] Jan 6, 2026
e0f70aa
chore(deps): update rust crate quote to v1.0.43
renovate[bot] Jan 6, 2026
aae810e
cp: set status code when encountering circular symbolic links (#9757)
Thanhphan1147 Jan 6, 2026
d77fcfb
FixPR.yml: Use cargo fetch --target $(rustc --print host-tuple) to sa…
oech3 Jan 5, 2026
b5b5cf0
hashsum, cksum: Move default stdin to clap
Jan 4, 2026
9710c80
bump libc & tmp stop musl-i686
Jan 5, 2026
5fdf8d9
uniq: rename keys_differ to keys_are_equal
cakebaker Jan 5, 2026
fbe8c55
fix: handle write errors gracefully instead of panicking
naoNao89 Jan 5, 2026
0ea542d
fsext.rs: Replace getmntinfo by libc crate
oech3 Jan 5, 2026
47805e5
fix: use jiff time for touch tests
aaron-ang Jan 6, 2026
ef44c0b
hashsum, cksum: Move --ckeck confliction to clap
Jan 4, 2026
4594061
ci: add Codecov Test Analytics integration
ChrisDryden Jan 6, 2026
000800a
runcon: fix SELinux test failures by adding chmod to build and fixing…
ChrisDryden Jan 6, 2026
487dde4
cp: use FileInformation without dereference for symlink destination c…
ChrisDryden Jan 7, 2026
35a3287
Add bad-speed.sh test script to fetch-gnu.sh (#10077)
ChrisDryden Jan 7, 2026
95d85e5
clippy: fix used_underscore_binding lint
xtqqczze Jan 4, 2026
e96c4cf
Chmod preserve root (#10033)
cerdelen Jan 7, 2026
bd8ddae
chore(deps): update rust crate libc to v0.2.179
renovate[bot] Jan 6, 2026
0ca1f02
bench(sort): add general numeric benchmark (#10101)
mattsu2020 Jan 7, 2026
4f74454
test_install: add two checks that should give Permission denied. One …
sgmarz Jan 7, 2026
b0847c4
install: update error messages and remove the additional Rust erroris…
sgmarz Jan 7, 2026
d3e90d9
install and test_install: run cargo 'fmt'
sgmarz Jan 7, 2026
4255a20
chore(deps): update rust crate divan to v4.2.1
renovate[bot] Jan 7, 2026
9812121
refactor(uptime): use FluentArgs for loadavg formatting in get_format…
mattsu2020 Jan 7, 2026
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: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
linker = "x86_64-unknown-redox-gcc"
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
[target.riscv64gc-unknown-linux-musl]
rustflags = ["-C", "target-feature=+crt-static"]

[env]
# See feat_external_libstdbuf in src/uu/stdbuf/Cargo.toml
Expand Down
6 changes: 6 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ final-status-level = "skip"
failure-output = "immediate-final"
fail-fast = false

[profile.ci.junit]
path = "junit.xml"

[profile.coverage]
retries = 0
status-level = "all"
final-status-level = "skip"
failure-output = "immediate-final"
fail-fast = false

[profile.coverage.junit]
path = "junit.xml"
65 changes: 63 additions & 2 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,16 @@ jobs:
env:
RUSTFLAGS: "-Awarnings"
RUST_BACKTRACE: "1"
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
report_type: test_results
files: target/nextest/ci/junit.xml
disable_search: true
flags: msrv,${{ matrix.job.os }}
fail_ci_if_error: false

deps:
name: Dependencies
Expand Down Expand Up @@ -300,6 +310,16 @@ jobs:
run: make nextest PROFILE=ci CARGOFLAGS="--hide-progress-bar"
env:
RUST_BACKTRACE: "1"
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
report_type: test_results
files: target/nextest/ci/junit.xml
disable_search: true
flags: makefile,${{ matrix.job.os }}
fail_ci_if_error: false
- name: "`make install PROG_PREFIX=uu- PROFILE=release-fast COMPLETIONS=n MANPAGES=n LOCALES=n`"
shell: bash
run: |
Expand All @@ -309,7 +329,7 @@ jobs:
./target/release-fast/true
# Check that the progs have prefix
test -f /tmp/usr/local/bin/uu-tty
test -f /tmp/usr/local/libexec/uu-coreutils/libstdbuf.*
test -f /tmp/usr/local/libexec/uu-coreutils/libstdbuf.*
# Check that the manpage is not present
! test -f /tmp/usr/local/share/man/man1/uu-whoami.1
# Check that the completion is not present
Expand Down Expand Up @@ -410,6 +430,16 @@ jobs:
run: cargo nextest run --hide-progress-bar --profile ci --features ${{ matrix.job.features }}
env:
RUST_BACKTRACE: "1"
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
report_type: test_results
files: target/nextest/ci/junit.xml
disable_search: true
flags: stable,${{ matrix.job.os }}
fail_ci_if_error: false

build_rust_nightly:
name: Build/nightly
Expand Down Expand Up @@ -439,6 +469,16 @@ jobs:
run: cargo nextest run --hide-progress-bar --profile ci --features ${{ matrix.job.features }}
env:
RUST_BACKTRACE: "1"
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
report_type: test_results
files: target/nextest/ci/junit.xml
disable_search: true
flags: nightly,${{ matrix.job.os }}
fail_ci_if_error: false

compute_size:
name: Binary sizes
Expand Down Expand Up @@ -576,9 +616,12 @@ jobs:
- { os: ubuntu-latest , target: arm-unknown-linux-gnueabihf , features: feat_os_unix_gnueabihf , use-cross: use-cross , skip-tests: true }
- { os: ubuntu-24.04-arm , target: aarch64-unknown-linux-gnu , features: feat_os_unix_gnueabihf }
- { os: ubuntu-latest , target: aarch64-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross , skip-tests: true }
- { os: ubuntu-latest , target: riscv64gc-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross , skip-tests: true }
# - { os: ubuntu-latest , target: x86_64-unknown-linux-gnu , features: feat_selinux , use-cross: use-cross }
- { os: ubuntu-latest , target: i686-unknown-linux-gnu , features: "feat_os_unix,test_risky_names", use-cross: use-cross }
- { os: ubuntu-latest , target: i686-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross }
# glibc 2.42 is important more than this platform
# Wait https://github.com/rust-lang/libc/pull/4914
#- { os: ubuntu-latest , target: i686-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross }
- { os: ubuntu-latest , target: x86_64-unknown-linux-gnu , features: "feat_os_unix,test_risky_names", use-cross: use-cross, skip-publish: true }
- { os: ubuntu-latest , target: x86_64-unknown-linux-gnu , features: "feat_os_unix,uudoc" , use-cross: no, workspace-tests: true }
- { os: ubuntu-latest , target: x86_64-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross }
Expand Down Expand Up @@ -636,6 +679,7 @@ jobs:
unset TARGET_ARCH
case '${{ matrix.job.target }}' in
aarch64-*) TARGET_ARCH=arm64 ;;
riscv64gc-*) TARGET_ARCH=riscv64 ;;
arm-*-*hf) TARGET_ARCH=armhf ;;
i686-*) TARGET_ARCH=i686 ;;
x86_64-*) TARGET_ARCH=x86_64 ;;
Expand Down Expand Up @@ -700,6 +744,7 @@ jobs:
STRIP="strip"
case ${{ matrix.job.target }} in
aarch64-*-linux-*) STRIP="aarch64-linux-gnu-strip" ;;
riscv64gc-*-linux-*) STRIP="riscv64-linux-gnu-strip" ;;
arm-*-linux-gnueabihf) STRIP="arm-linux-gnueabihf-strip" ;;
*-pc-windows-msvc) STRIP="" ;;
esac;
Expand All @@ -726,6 +771,10 @@ jobs:
sudo apt-get -y update
sudo apt-get -y install gcc-aarch64-linux-gnu
;;
riscv64gc-unknown-linux-*)
sudo apt-get -y update
sudo apt-get -y install gcc-riscv64-linux-gnu
;;
*-redox*)
sudo apt-get -y update
sudo apt-get -y install fuse3 libfuse-dev
Expand Down Expand Up @@ -814,6 +863,8 @@ jobs:
if: matrix.job.skip-tests != true
shell: bash
run: |
command -v sudo && sudo rm -rf /usr/local/lib/android /usr/share/dotnet # avoid no space left
df -h ||:
## Test individual utilities
${{ steps.vars.outputs.CARGO_CMD }} ${{ steps.vars.outputs.CARGO_CMD_OPTIONS }} test --target=${{ matrix.job.target }} \
${{ matrix.job.cargo-options }} ${{ steps.dep_vars.outputs.CARGO_UTILITY_LIST_OPTIONS }}
Expand Down Expand Up @@ -1147,6 +1198,16 @@ jobs:
flags: ${{ steps.vars.outputs.CODECOV_FLAGS }}
name: codecov-umbrella
fail_ci_if_error: false
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
report_type: test_results
files: target/nextest/coverage/junit.xml
disable_search: true
flags: coverage,${{ matrix.job.os }}
fail_ci_if_error: false

test_separately:
name: Separate Builds
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/FixPR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
# Ensure updated '*/Cargo.lock'
# * '*/Cargo.lock' is required to be in a format that `cargo` of MinSRV can interpret (eg, v1-format for MinSRV < v1.38)
for dir in "." "fuzz"; do
( cd "$dir" && (cargo fetch --locked --quiet || cargo +${{ steps.vars.outputs.RUST_MIN_SRV }} update) )
( cd "$dir" && (cargo fetch --locked --quiet --target $(rustc --print host-tuple) || cargo +${{ steps.vars.outputs.RUST_MIN_SRV }} update) )
done
- name: Info
shell: bash
Expand All @@ -65,7 +65,7 @@ jobs:
cargo tree -V
## dependencies
echo "## dependency list"
cargo fetch --locked --quiet
cargo fetch --locked --quiet --target $(rustc --print host-tuple)
## * using the 'stable' toolchain is necessary to avoid "unexpected '--filter-platform'" errors
RUSTUP_TOOLCHAIN=stable cargo tree --locked --no-dedupe -e=no-dev --prefix=none --features ${{ matrix.job.features }} | grep -vE "$PWD" | sort --unique
- name: Commit any changes (to '${{ env.BRANCH_TARGET }}')
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/GnuTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: GnuTests

# spell-checker:ignore (abbrev/names) CodeCov gnulib GnuTests Swatinem
# spell-checker:ignore (jargon) submodules devel
# spell-checker:ignore (libs/utils) autopoint chksum dpkg getenforce getlimits gperf lcov libexpect limactl pyinotify setenforce shopt texinfo valgrind libattr libcap taiki-e zstd cpio
# spell-checker:ignore (libs/utils) chksum dpkg getenforce getlimits gperf lcov libexpect limactl pyinotify setenforce shopt valgrind libattr libcap taiki-e zstd cpio
# spell-checker:ignore (options) Ccodegen Coverflow Cpanic Zpanic
# spell-checker:ignore (people) Dawid Dziurla * dawidd dtolnay
# spell-checker:ignore (vars) FILESET SUBDIRS XPASS
Expand Down Expand Up @@ -47,7 +47,6 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt
- uses: Swatinem/rust-cache@v2
with:
workspaces: "./uutils -> target"
Expand All @@ -69,7 +68,7 @@ jobs:
## Install dependencies
sudo apt-get update
## Check that build-gnu.sh works on the non SELinux system by installing libselinux only on lima
sudo apt-get install -y autopoint gperf gdb python3-pyinotify valgrind libexpect-perl libacl1-dev libattr1-dev libcap-dev attr quilt
sudo apt-get install -y gperf gdb python3-pyinotify valgrind libexpect-perl libacl1-dev libattr1-dev libcap-dev attr quilt
curl http://launchpadlibrarian.net/831710181/automake_1.18.1-3_all.deb > automake-1.18.deb
sudo dpkg -i --force-depends automake-1.18.deb
- name: Add various locales
Expand Down Expand Up @@ -105,7 +104,7 @@ jobs:
## Build binaries
cd 'uutils'
env PROFILE=release-small bash util/build-gnu.sh

- name: Save files for faster configure and skipping make
uses: actions/cache/save@v5
if: always() && steps.cache-config-gnu.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -211,7 +210,6 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt
- uses: Swatinem/rust-cache@v2
with:
workspaces: "./uutils -> target"
Expand Down Expand Up @@ -247,8 +245,8 @@ jobs:
- name: Install dependencies in VM
run: |
lima sudo dnf -y update
lima sudo dnf -y install git autoconf autopoint bison texinfo gperf gcc gdb jq libacl-devel libattr-devel libcap-devel libselinux-devel attr rustup clang-devel texinfo-tex automake patch quilt
lima rustup-init -y --default-toolchain stable
lima sudo dnf -y install autoconf bison gperf gcc gdb jq libacl-devel libattr-devel libcap-devel libselinux-devel attr rustup clang-devel automake patch quilt
lima rustup-init -y --profile=minimal --default-toolchain stable
- name: Copy the sources to VM
run: |
rsync -a -e ssh . lima-default:~/work/
Expand Down Expand Up @@ -331,7 +329,6 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt
- uses: Swatinem/rust-cache@v2
with:
workspaces: "./uutils -> target"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jobs:
disk-size: ${{ env.EMULATOR_DISK_SIZE }}
cores: ${{ env.EMULATOR_CORES }}
force-avd-creation: false
emulator-options: ${{ env.COMMON_EMULATOR_OPTIONS }} -no-snapshot-save -snapshot ${{ env.AVD_CACHE_KEY }}
emulator-options: ${{ env.COMMON_EMULATOR_OPTIONS }} -no-metrics -no-snapshot-save -snapshot ${{ env.AVD_CACHE_KEY }}
emulator-boot-timeout: ${{ env.EMULATOR_BOOT_TIMEOUT }}
# This is not a usual script. Every line is executed in a separate shell with `sh -c`. If
# one of the lines returns with error the whole script is failed (like running a script with
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ jobs:
- { package: uu_cksum }
- { package: uu_cp }
- { package: uu_cut }
- { package: uu_dd }
- { package: uu_du }
- { package: uu_expand }
- { package: uu_fold }
- { package: uu_hashsum }
- { package: uu_join }
- { package: uu_ls }
- { package: uu_mv }
- { package: uu_nl }
Expand All @@ -45,6 +46,7 @@ jobs:
- { package: uu_uniq }
- { package: uu_wc }
- { package: uu_factor }
- { package: uu_date }
steps:
- uses: actions/checkout@v6
with:
Expand Down Expand Up @@ -72,7 +74,7 @@ jobs:
env:
CODSPEED_LOG: debug
with:
mode: instrumentation
mode: simulation
run: |
echo "Running benchmarks for ${{ matrix.benchmark-target.package }}"
cargo codspeed run -p ${{ matrix.benchmark-target.package }} > /dev/null
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/openbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
prepare: |
# Clean up disk space before installing packages
df -h
rm -rf /usr/share/doc/* /usr/share/man/* /var/cache/* /tmp/* || true
rm -rf /usr/share/relink/* /usr/X11R6/* /usr/share/doc/* /usr/share/man/* || :
pkg_add curl sudo-- jq coreutils bash rust rust-clippy rust-rustfmt llvm--
# Clean up package cache after installation
pkg_delete -a || true
Expand Down Expand Up @@ -115,8 +115,6 @@ jobs:
fi
# Clean to avoid to rsync back the files and free up disk space
cargo clean
# Additional cleanup to free disk space
rm -rf ~/.cargo/registry/cache ~/.cargo/git/db || true
if [ -n "\${FAIL_ON_FAULT}" ] && [ -n "\${FAULT}" ]; then exit 1 ; fi
EOF

Expand Down Expand Up @@ -144,10 +142,10 @@ jobs:
prepare: |
# Clean up disk space before installing packages
df -h
rm -rf /usr/share/doc/* /usr/share/man/* /var/cache/* /tmp/* || true
rm -rf /usr/share/relink/* /usr/X11R6/* /usr/share/doc/* /usr/share/man/* || :
pkg_add curl gmake sudo-- jq rust llvm--
# Clean up package cache after installation
pkg_delete -a || true
pkg_delete -a || :
df -h
run: |
## Prepare, build, and test
Expand Down Expand Up @@ -197,8 +195,6 @@ jobs:
cd "${WORKSPACE}"
unset FAULT
cargo build || FAULT=1
# Clean build artifacts to save disk space before testing
rm -rf target/debug/build target/debug/incremental || true
export PATH=~/.cargo/bin:${PATH}
export RUST_BACKTRACE=1
export CARGO_TERM_COLOR=always
Expand All @@ -216,6 +212,5 @@ jobs:
# Clean to avoid to rsync back the files and free up disk space
cargo clean
# Additional cleanup to free disk space
rm -rf ~/.cargo/registry/cache ~/.cargo/git/db target/debug/deps target/release/deps || true
if (test -n "\$FAULT"); then exit 1 ; fi
EOF
1 change: 1 addition & 0 deletions .vscode/cspell.dictionaries/jargon.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ listxattr
llistxattr
lossily
lstat
makedev
mebi
mebibytes
mergeable
Expand Down
2 changes: 2 additions & 0 deletions .vscode/cspell.dictionaries/workspace.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ LINESIZE
NAMESIZE
RTLD_NEXT
RTLD
SIGABRT
SIGINT
SIGKILL
SIGSTOP
Expand Down Expand Up @@ -379,6 +380,7 @@ istrip
litout
opost
parodd
ENOTTY

# translation tests
CLICOLOR
Expand Down
Loading
Loading