Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
70 changes: 35 additions & 35 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ concurrency:
jobs:
cargo-deny:
name: Style/cargo-deny
runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest
steps:
- uses: actions/checkout@v7.0.1
with:
Expand All @@ -52,9 +52,9 @@ jobs:
job:
# note: `cargo-udeps` panics when processing stdbuf/libstdbuf ("uu_stdbuf_libstdbuf"); either b/c of the 'cpp' crate or 'libstdbuf' itself
# ... b/c of the panic, a more limited feature set is tested (though only excluding `stdbuf`)
- { os: ubuntu-latest , features: "feat_Tier1,feat_require_unix,feat_require_unix_utmpx" }
- { os: incredibuild-ubuntu-latest , features: "feat_Tier1,feat_require_unix,feat_require_unix_utmpx" }
- { os: macos-latest , features: "feat_Tier1,feat_require_unix,feat_require_unix_utmpx" }
- { os: windows-latest , features: feat_os_windows }
- { os: incredibuild-windows-2022 , features: feat_os_windows }
steps:
- uses: actions/checkout@v7.0.1
with:
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
fail-fast: false
matrix:
job:
- { os: ubuntu-latest , features: feat_os_unix }
- { os: incredibuild-ubuntu-latest , features: feat_os_unix }
# for now, don't build it on mac & windows because the doc is only published from linux
# + it needs a bunch of duplication for build
# and I don't want to add a doc step in the regular build to avoid long builds
Expand Down Expand Up @@ -159,9 +159,9 @@ jobs:
strategy:
matrix:
job:
- { os: ubuntu-latest , features: feat_os_unix }
- { os: incredibuild-ubuntu-latest , features: feat_os_unix }
# rustix defaults to raw Linux syscalls; make sure the libc backend works too
- { os: ubuntu-latest , features: "feat_os_unix,rustix/use-libc" }
- { os: incredibuild-ubuntu-latest , features: "feat_os_unix,rustix/use-libc" }
steps:
- uses: actions/checkout@v7.0.1
with:
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:
fail-fast: false
matrix:
job:
- { os: ubuntu-latest , features: feat_os_unix }
- { os: incredibuild-ubuntu-latest , features: feat_os_unix }
steps:
- uses: actions/checkout@v7.0.1
with:
Expand All @@ -284,11 +284,11 @@ jobs:
fail-fast: false
matrix:
job:
- { os: ubuntu-latest , name: feat_os_unix , features: feat_os_unix }
- { os: incredibuild-ubuntu-latest , name: feat_os_unix , features: feat_os_unix }
# Don't fail to build if SELinux specific utils are included by some reason.
# But we are not interested in existence of stubs
- { os: macos-latest , name: feat_os_unix , features: "feat_os_unix,chcon,runcon" }
- { os: windows-latest , name: feat_os_windows , features: "feat_os_windows,chcon,runcon" }
- { os: incredibuild-windows-2022 , name: feat_os_windows , features: "feat_os_windows,chcon,runcon" }
steps:
- uses: actions/checkout@v7.0.1
with:
Expand Down Expand Up @@ -331,9 +331,9 @@ jobs:
fail-fast: false
matrix:
job:
- { os: ubuntu-latest , features: feat_os_unix }
- { os: incredibuild-ubuntu-latest , features: feat_os_unix }
# expensive runner - { os: macos-latest , features: feat_os_unix }
- { os: windows-latest , features: feat_os_windows }
- { os: incredibuild-windows-2022 , features: feat_os_windows }
steps:
- uses: actions/checkout@v7.0.1
with:
Expand Down Expand Up @@ -391,25 +391,25 @@ jobs:
# PGO for i686 Windows/Linux, x86_64-apple-darwin are disabled to reduce load.
# enable openssl for performance if other jobs already test pure-Rust checksum crates
# Use code-quality.yml for targets we just need to pass cargo check
- { 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, pgo: PGO }
- { 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: incredibuild-ubuntu-latest , target: arm-unknown-linux-gnueabihf , features: feat_os_unix_gnueabihf , use-cross: use-cross , skip-tests: true }
- { os: incredibuild-ubuntu-2404-arm , target: aarch64-unknown-linux-gnu , features: feat_os_unix_gnueabihf, pgo: PGO }
- { os: incredibuild-ubuntu-latest , target: aarch64-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross , skip-tests: true }
- { os: incredibuild-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 }
# TODO use ubuntu-latest, https://github.com/uutils/coreutils/issues/15955
- { os: ubuntu-24.04 , target: i686-unknown-linux-gnu , features: "feat_os_unix,test_risky_names", use-cross: use-cross }
- { os: ubuntu-24.04 , 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,openssl,uudoc" , use-cross: no, workspace-tests: true, pgo: PGO }
- { os: ubuntu-latest , target: x86_64-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross }
- { os: ubuntu-latest , target: wasm32-wasip1, default-features: false, features: feat_wasm, skip-tests: true }
- { os: ubuntu-latest , target: wasm32-wasip2, default-features: false, features: feat_wasm, skip-tests: true }
- { os: incredibuild-ubuntu-2404 , target: i686-unknown-linux-gnu , features: "feat_os_unix,test_risky_names", use-cross: use-cross }
- { os: incredibuild-ubuntu-2404 , target: i686-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross }
- { os: incredibuild-ubuntu-latest , target: x86_64-unknown-linux-gnu , features: "feat_os_unix,test_risky_names", use-cross: use-cross, skip-publish: true }
- { os: incredibuild-ubuntu-latest , target: x86_64-unknown-linux-gnu , features: "feat_os_unix,openssl,uudoc" , use-cross: no, workspace-tests: true, pgo: PGO }
- { os: incredibuild-ubuntu-latest , target: x86_64-unknown-linux-musl , features: feat_os_unix_musl , use-cross: use-cross }
- { os: incredibuild-ubuntu-latest , target: wasm32-wasip1, default-features: false, features: feat_wasm, skip-tests: true }
- { os: incredibuild-ubuntu-latest , target: wasm32-wasip2, default-features: false, features: feat_wasm, skip-tests: true }
- { os: macos-latest , target: aarch64-apple-darwin , features: "feat_os_unix,openssl", workspace-tests: true, pgo: PGO } # M1 CPU
- { os: macos-latest , target: x86_64-apple-darwin , features: feat_os_unix, workspace-tests: true }
- { os: windows-latest , target: i686-pc-windows-msvc , features: feat_os_windows }
- { os: incredibuild-windows-2022 , target: i686-pc-windows-msvc , features: feat_os_windows }
# msvc and gnu works on the same target. So publishing msvc is enough.
- { os: windows-latest , target: x86_64-pc-windows-gnu , features: feat_os_windows, skip-publish: true }
- { os: windows-latest , target: x86_64-pc-windows-msvc , features: "feat_os_windows,openssl", pgo: PGO }
- { os: incredibuild-windows-2022 , target: x86_64-pc-windows-gnu , features: feat_os_windows, skip-publish: true }
- { os: incredibuild-windows-2022 , target: x86_64-pc-windows-msvc , features: "feat_os_windows,openssl", pgo: PGO }
# No `pgo` here: on aarch64-pc-windows-msvc the instrumented binary
# writes .profraw files whose name table llvm-profdata rejects with
# "symbol name is empty", so every profile is unusable. Upstream bugs:
Expand Down Expand Up @@ -555,7 +555,7 @@ jobs:
;;
esac
case '${{ matrix.job.os }}' in
ubuntu-*)
incredibuild-ubuntu-*)
# selinux and systemd headers needed to build tests
sudo apt-get -y update
sudo apt-get -y install libselinux1-dev libsystemd-dev
Expand Down Expand Up @@ -732,7 +732,7 @@ jobs:
fail-fast: false
matrix:
job:
- { os: ubuntu-latest , features: unix }
- { os: incredibuild-ubuntu-latest , features: unix }
# FIXME: Re-enable macos code coverage
# - { os: macos-latest , features: macos }
# FIXME: Re-enable Code Coverage on windows, which currently fails due to "profiler_builtins". See #6686.
Expand Down Expand Up @@ -788,7 +788,7 @@ jobs:
run: |
## Install/setup prerequisites
case '${{ matrix.job.os }}' in
ubuntu-latest)
incredibuild-ubuntu-latest)
# selinux and systemd headers needed to build tests
# acl: setfacl for coverage profile-trace dir default ACL (umask 0777 tests)
sudo apt-get -y update
Expand Down Expand Up @@ -858,7 +858,7 @@ jobs:
job:
# Linux: exercises OPENSSL_NO_VENDOR=1 (dynamic against system libcrypto). ubuntu-latest ships libssl-dev
# binaries with OPENSSL_NO_VENDOR=0 are tested and published at build job
- { os: ubuntu-latest, features: "md5sum,sha1sum,sha224sum,sha256sum,sha384sum,sha512sum,cksum,openssl" }
- { os: incredibuild-ubuntu-latest, features: "md5sum,sha1sum,sha224sum,sha256sum,sha384sum,sha512sum,cksum,openssl" }
# macOS: vendored only — system libcrypto needs OPENSSL_DIR
# pointing at Homebrew, which isn't worth wiring up for a smoke test.
# MinGW(UCRT): done at make.yml as actual consumer is MSYS2 only
Expand Down Expand Up @@ -891,7 +891,7 @@ jobs:
test_no_diagnostics:
name: Build/No-diagnostics
needs: [ min_version, deps ]
runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v7
Expand Down Expand Up @@ -936,7 +936,7 @@ jobs:
test_selinux:
name: Build/SELinux
needs: [ min_version, deps ]
runs-on: ubuntu-24.04 # use ubuntu-latest, https://github.com/uutils/coreutils/issues/15955
runs-on: incredibuild-ubuntu-2404 # use ubuntu-latest, https://github.com/uutils/coreutils/issues/15955
steps:
- uses: actions/checkout@v7.0.1
with:
Expand Down Expand Up @@ -966,7 +966,7 @@ jobs:

test_safe_traversal:
name: Safe Traversal Security Check
runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest
needs: [ min_version, deps ]

steps:
Expand All @@ -983,7 +983,7 @@ jobs:

test_libc_interposition:
name: libc Interposition Check
runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest
needs: [ min_version, deps ]

steps:
Expand All @@ -1000,7 +1000,7 @@ jobs:

test_open_once:
name: Redundant Open Check
runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest
needs: [ min_version, deps ]

steps:
Expand All @@ -1017,7 +1017,7 @@ jobs:

test_toctou:
name: TOCTOU Security Check
runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest
needs: [ min_version, deps ]

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CheckScripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ concurrency:
jobs:
shell_check:
name: ShellScript/Check
runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest
permissions:
contents: read
steps:
Expand All @@ -43,7 +43,7 @@ jobs:

shell_fmt:
name: ShellScript/Format
runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest
permissions:
contents: read
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/FixPR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
matrix:
job:
- { os: ubuntu-latest , features: feat_os_unix }
- { os: incredibuild-ubuntu-latest , features: feat_os_unix }
steps:
- uses: actions/checkout@v7.0.1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/GnuComment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
actions: read # to list workflow runs artifacts
pull-requests: write # to comment on pr

runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest
if: >
github.event.workflow_run.event == 'pull_request' &&
(github.event.workflow_run.conclusion == 'success' ||
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/GnuTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ jobs:

selinux:
name: Run GNU tests (SELinux)
runs-on: ubuntu-24.04 # TODO: use ubuntu-latest, https://github.com/uutils/coreutils/issues/15955 # ubuntu-latest # using VM's glibc
runs-on: incredibuild-ubuntu-2404 # TODO: use ubuntu-latest, https://github.com/uutils/coreutils/issues/15955 # ubuntu-latest # using VM's glibc
steps:
#### Get the code
- name: Checkout code (uutils)
Expand Down Expand Up @@ -299,7 +299,7 @@ jobs:

qemu:
name: Run GNU tests (SMACK/ROOTFS)
runs-on: ubuntu-latest # using Arch glibc
runs-on: incredibuild-ubuntu-latest # using Arch glibc
steps:
- name: Checkout code (uutils)
uses: actions/checkout@v7.0.1
Expand Down Expand Up @@ -343,7 +343,7 @@ jobs:
actions: read # to download this run's own result artifacts
contents: read # for actions/checkout to fetch code, and to read the reference branch
name: Aggregate GNU test results
runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest
steps:
- name: Initialize workflow variables
id: vars
Expand Down Expand Up @@ -613,7 +613,7 @@ jobs:
actions: read # to download this run's own result artifacts
contents: write # to push to the reference branch
name: Publish reference GNU test results
runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest
## Only one run may publish at a time. The step below reads the currently
## published run id and then force-pushes; two overlapping runs could
## interleave those, letting an older one overwrite a newer reference.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/NotifyTracking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
&& github.event.workflow_run.head_branch == github.event.repository.default_branch
&& github.event.workflow_run.conclusion != 'cancelled'
&& github.event.workflow_run.conclusion != 'skipped'
runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest
## The 'secrets' context is not available in a step's 'if:', so fold the
## check into a job-level env var, which is.
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/SizeComment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
actions: read # to list workflow runs artifacts
pull-requests: write # to comment on pr

runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest
if: >
github.event.workflow_run.event == 'pull_request'
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/SocketDev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:

jobs:
safe-install:
runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest
steps:
- uses: actions/checkout@v7.0.1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest] # , macos-latest
os: [incredibuild-ubuntu-latest] # , macos-latest

Check warning on line 37 in .github/workflows/android.yml

View workflow job for this annotation

GitHub Actions / Style/spelling (incredibuild-ubuntu-latest, feat_os_unix)

WARNING: `cspell`: Unknown word 'incredibuild' (file:'.github/workflows/android.yml', line:37)
cores: [4] # , 6
ram: [4096]
api-level: [28, "37.0"]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

jobs:
audit:
runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest

Check warning on line 15 in .github/workflows/audit.yml

View workflow job for this annotation

GitHub Actions / Style/spelling (incredibuild-ubuntu-latest, feat_os_unix)

WARNING: `cspell`: Unknown word 'incredibuild' (file:'.github/workflows/audit.yml', line:15)
steps:
- uses: actions/checkout@v7.0.1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
jobs:
detects-benchmarks:
name: Detect changes on crates
runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest

Check warning on line 30 in .github/workflows/benchmarks.yml

View workflow job for this annotation

GitHub Actions / Style/spelling (incredibuild-ubuntu-latest, feat_os_unix)

WARNING: `cspell`: Unknown word 'incredibuild' (file:'.github/workflows/benchmarks.yml', line:30)
outputs:
package: ${{ steps.detect.outputs.package }}
steps:
Expand Down Expand Up @@ -67,7 +67,7 @@
needs: detects-benchmarks
if: needs.detects-benchmarks.outputs.package != '[]'
name: Run ${{ matrix.type }} benchmarks for ${{ matrix.package }} (CodSpeed)
runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest

Check warning on line 70 in .github/workflows/benchmarks.yml

View workflow job for this annotation

GitHub Actions / Style/spelling (incredibuild-ubuntu-latest, feat_os_unix)

WARNING: `cspell`: Unknown word 'incredibuild' (file:'.github/workflows/benchmarks.yml', line:70)
timeout-minutes: 90
env:
CARGO_INCREMENTAL: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cancel-closed-pr-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

jobs:
cancel:
runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest

Check warning on line 12 in .github/workflows/cancel-closed-pr-workflows.yml

View workflow job for this annotation

GitHub Actions / Style/spelling (incredibuild-ubuntu-latest, feat_os_unix)

WARNING: `cspell`: Unknown word 'incredibuild' (file:'.github/workflows/cancel-closed-pr-workflows.yml', line:12)
steps:
- name: Cancel unfinished PR workflow runs
uses: actions/github-script@v9.0.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-toml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

jobs:
check:
runs-on: ubuntu-latest
runs-on: incredibuild-ubuntu-latest

Check warning on line 24 in .github/workflows/check-toml.yml

View workflow job for this annotation

GitHub Actions / Style/spelling (incredibuild-ubuntu-latest, feat_os_unix)

WARNING: `cspell`: Unknown word 'incredibuild' (file:'.github/workflows/check-toml.yml', line:24)
steps:
- uses: actions/checkout@v7.0.1
with:
Expand Down
Loading
Loading