Commit graph

269 commits

Author SHA1 Message Date
Sylvestre Ledru 13ca3ad0b1
Merge pull request #4693 from miles170/ci-check-release-sizes
CI: warn if the size of the binary increases by more than 5%
2023-04-27 09:09:32 +02:00
renovate[bot] 31578ea18d
chore(deps): update davidanson/markdownlint-cli2-action action to v10 2023-04-26 04:41:44 +00:00
Joining7943 78ce521c01 ci: Use nextest as test runner instead of cargo test 2023-04-19 22:06:06 +02:00
Sylvestre Ledru 4678393c3d
Merge pull request #4742 from Joining7943/ci-fix-usage-of-rust-caching
ci: Fix usages of rust-cache to produce more cache hits
2023-04-19 21:27:05 +02:00
Miles Liu 1e43cb1c1e
CI: warn if the size of the binary increases by more than 5% 2023-04-17 15:50:33 +08:00
Joining7943 163a75c9e3 ci: Fix usages of rust-cache to produce more cache hits 2023-04-15 14:48:22 +02:00
Miles Liu 699c1d5aa1
CI: compute individual binary sizes 2023-04-15 18:44:31 +08:00
Daniel Hofstetter 74d4cf2637 CICD: remove "continue-on-error" in fuzz_date step 2023-03-29 07:58:56 +02:00
Sylvestre Ledru 97f8e9d818
Merge pull request #4560 from miles170/fix-show-utils
util/show-utils: fix script not working as intended
2023-03-27 20:26:12 +02:00
Sylvestre Ledru 5d4258135b
Merge pull request #4649 from cakebaker/cicd_remove_outdated_comments
CICD: remove outdated comments
2023-03-27 10:30:14 +02:00
Daniel Hofstetter 3e146817ab
Merge pull request #4628 from sylvestre/ci-split
CI: move freebsd & android jobs in separate workflows
2023-03-27 08:12:51 +02:00
Daniel Hofstetter 6d3edfd5c2 CICD: remove outdated comments 2023-03-27 08:00:09 +02:00
Sylvestre Ledru a141729113 CI: move freebsd & android jobs in separate workflows
This because they are intermittent. When reviewing,
I wish we didn't have to scroll to check that it is indeed
freebsd or android failing.
2023-03-26 23:04:34 +02:00
Kamil Ogórek ad8563b072
CI: Remove duplicated x86_64-unknown-linux-gnu target from build job 2023-03-26 22:28:22 +02:00
Terts Diepraam 74b54074e1
deps: bump time from 0.3.17 to 0.3.20 (#4643) 2023-03-26 21:47:12 +02:00
Sylvestre Ledru 915618edc1 use sccache action 0.0.3 - automatically uses the most recent version of sccache 2023-03-23 10:29:03 +01:00
Sylvestre Ledru 86e8d93652 use sccache stable release 2023-03-21 11:56:51 +01:00
Miles Liu 04f1b31889
util/show-utils: fix script not working as intended 2023-03-21 09:25:17 +08:00
Sylvestre Ledru 1f0bedefc7 update to sccache v0.4.0-pre.11 2023-03-18 16:52:20 +01:00
Sylvestre Ledru 5ec2e36f58
Adjust the fuzzers tests in the CI as some have been fixed 2023-03-13 11:26:53 +01:00
Sylvestre Ledru aecc8aa40f keep Swatinem/rust-cache@v2 2023-03-12 11:00:45 +01:00
Sylvestre Ledru 6608a7ea88 Use sccache to cache build results
instead of Swatinem/rust-cache@v2
2023-03-12 11:00:45 +01:00
Sylvestre Ledru 51c3e76abf we have now several fuzzers 2023-03-10 00:21:35 +01:00
Sylvestre Ledru 9dcd3192d2 run all the fuzzer in the CI for XX seconds 2023-03-10 00:03:26 +01:00
Sylvestre Ledru 69f420cb01 run the fuzzer in the CI for 60 seconds 2023-03-10 00:03:26 +01:00
Terts Diepraam e1a98fea44
Merge pull request #4457 from sylvestre/md-check
Various improvements in the docs
2023-03-05 15:44:15 +01:00
Sylvestre Ledru 12fc4a81f8 also test that make install works and manpage are present 2023-03-04 19:42:30 +01:00
Sylvestre Ledru d9320277e1 Run the markdown linter in the CI 2023-03-04 18:44:17 +01:00
Sylvestre Ledru b763143db0 End the current execution if there is a new changeset in the PR 2023-02-17 18:02:32 +01:00
Terts Diepraam b10950e383 Bump MSRV to 1.64 2023-02-11 13:59:50 +01:00
Joining7943 782b9be099 cicd: Fix #4322 toochain overrides must begin with +. Do not self-update rustup. 2023-02-06 16:40:40 +01:00
Roy Ivy III 9b440dfab6 maint/CICD ~ refactor var names 2023-01-21 23:39:05 -06:00
Roy Ivy III f4086f237f maint/CICD ~ re-label bash script steps for easier review 2023-01-21 23:39:05 -06:00
Roy Ivy III 6f5f3736ce docs ~ update spell-checker exceptions 2023-01-21 23:39:05 -06:00
Roy Ivy III f0ce605f4b maint/CICD ~ improve/update outputs() function 2023-01-21 23:39:05 -06:00
Roy Ivy III 0b4ef62eed maint/CICD ~ refactor to standard use of outputs() 2023-01-21 23:39:05 -06:00
Roy Ivy III 80a9eaf8ab maint/CICD ~ normalize to use expanded 10 digit SHAs 2023-01-21 23:39:05 -06:00
Joining7943 ccfc799b46 CI/tests: Run cargo test with RUST_BACKTRACE=1 2023-01-01 18:36:02 +01:00
Terts Diepraam 01153a701f
Merge pull request #4222 from sylvestre/toybox
Run the toybox testsuite
2022-12-10 11:04:35 +01:00
Sylvestre Ledru d453f909e8 Run toybox in the CI 2022-12-07 15:41:21 +01:00
Sylvestre Ledru 20f6b6d0c5
Fix the # of SKIP 2022-12-06 10:45:28 +01:00
Sylvestre Ledru c132535cf5 busybox: replicate the same output as GNU 2022-12-06 08:52:05 +01:00
Sylvestre Ledru 2efda01c37
busybox: remove the warning in the CI 2022-12-05 08:47:55 +01:00
Sylvestre Ledru c432c77233 move the cache earlier 2022-12-04 23:59:21 +01:00
Sylvestre Ledru 9ab9ec7fc5 extract and store busybox results 2022-12-04 23:59:18 +01:00
Sylvestre Ledru cc79be035a busybox: Add the file at the right place 2022-12-04 16:39:51 +01:00
Daniel Hofstetter 05d12892f3 CI: enable manual_string_new lint 2022-12-01 13:49:23 +01:00
Miles Liu 9e8c422b3f
CI: increase the FreeBSD memory limit to 4096 2022-11-20 19:58:07 +08:00
Miles Liu 584f3cd0b2 CI: replace actions-rs/install with cargo install 2022-11-19 16:28:08 +01:00
Miles Liu 418fe6d758 CI: remove use of actions-rs/toolchain 2022-11-19 16:28:08 +01:00
Miles Liu af7e4180ec CI: remove use of actions-rs/cargo 2022-11-19 16:28:08 +01:00
Miles Liu 61b7ff8116 CI: resolve rust-cache misplacement and cache conflict 2022-11-19 16:28:08 +01:00
Miles Liu b641aa36e6
CI: fix "uucore no unix feature" on freeBSD 2022-11-19 00:05:37 +08:00
Miles Liu a446324681
CI: fix /dev/fd errors on FreeBSD 2022-11-19 00:05:37 +08:00
Miles Liu 3d51291685
CI: fix FreeBSD CI passed when tests failed 2022-11-19 00:04:34 +08:00
dependabot[bot] f8e2be57dd
build(deps): bump Swatinem/rust-cache from 1 to 2
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 1 to 2.
- [Release notes](https://github.com/Swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Swatinem/rust-cache/compare/v1...v2)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-18 06:06:30 +00:00
Sylvestre Ledru 69962250ff coverage: rename the arg to match a change in grcov
See https://github.com/mozilla/grcov/pull/893
2022-11-12 08:54:34 +01:00
Sylvestre Ledru 7ecddd1f5b
CI: fix a typo 2022-11-06 21:56:59 +01:00
Sylvestre Ledru afa3e84d94 Replace set-output by the GITHUB_OUTPUT variable
See: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-11-03 08:25:47 +01:00
dependabot[bot] 7b88276462
build(deps): bump vmactions/freebsd-vm from 0.2.9 to 0.3.0
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.9 to 0.3.0.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.9...v0.3.0)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-03 06:05:35 +00:00
Terts Diepraam f8f3ae3c65 bump msrv to 1.60 2022-10-12 12:09:28 +02:00
Terts Diepraam adf4bab03c tests: do not generate module structure in build.rs
Generating the tests to run in build.rs created problems for tooling. For example, cargo fmt, was ignoring the test_*.rs files and needed to be passed these files manually to be formatted. Now we simply use the feature mechanism to decide which tests to run.
2022-10-05 13:30:22 +02:00
dependabot[bot] 78994824f8
build(deps): bump vmactions/freebsd-vm from 0.2.6 to 0.2.9
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.6 to 0.2.9.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.6...v0.2.9)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 06:46:23 +00:00
Alex 1138c906fe build: harden CICD.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-25 16:30:33 +02:00
Sylvestre Ledru 6c8dab38b8
Merge pull request #3925 from uutils/dependabot/github_actions/vmactions/freebsd-vm-0.2.6
build(deps): bump vmactions/freebsd-vm from 0.2.4 to 0.2.6
2022-09-12 15:27:19 +02:00
Hanif Bin Ariffin fd9d49d1b2 cargo-tree is already part of cargo. Use that instead
Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>
2022-09-12 19:22:33 +08:00
dependabot[bot] b624b054be
build(deps): bump vmactions/freebsd-vm from 0.2.4 to 0.2.6
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.4 to 0.2.6.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.4...v0.2.6)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 07:49:07 +00:00
Sylvestre Ledru e8ea75fc23 bump the Minimum Supported Rust Version to 1.59.0
Needed for os_str_bytes & time:

```
error: package `os_str_bytes v6.3.0` cannot be built because it requires rustc 1.57.0 or newer, while the currently active rustc version is 1.56.1
error: package `time v0.3.14` cannot be built because it requires rustc 1.59.0 or newer, while the currently active rustc version is 1.56.1
```
2022-09-07 21:26:06 +02:00
Sylvestre Ledru 6b8b8a1ee7 docker: Mount some volumes when building with cross
Many thanks to Aleksandr Chebotov for the help
2022-09-04 23:35:34 +02:00
dependabot[bot] 4f967de2eb
build(deps): bump vmactions/freebsd-vm from 0.2.3 to 0.2.4
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.3 to 0.2.4.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.3...v0.2.4)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-29 06:41:02 +00:00
Niyaz Nigmatullin 13b6979dad CI: add timeouts 360 minutes -> 90 minutes, some Windows runs sometimes hang 2022-08-21 15:55:41 +03:00
Niyaz Nigmatullin 37b7375dae CI: add timeout to freebsd and android tests, since it sometimes hangs 2022-08-17 22:09:56 +03:00
Sylvestre Ledru c660fc700f
Merge pull request #3757 from cakebaker/clap_update
bump clap from 3.1.18 to 3.2.15
2022-08-02 09:56:01 +02:00
Daniel Hofstetter fc4544c42b bump clap from 3.1.18 to 3.2.15 2022-07-29 14:05:02 +02:00
dependabot[bot] e7cde6a3b9
build(deps): bump vmactions/freebsd-vm from 0.2.1 to 0.2.3
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.1 to 0.2.3.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.1...v0.2.3)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-29 06:33:48 +00:00
dependabot[bot] c49aa606f4
build(deps): bump vmactions/freebsd-vm from 0.2.0 to 0.2.1
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.2.0...v0.2.1)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 06:58:02 +00:00
dependabot[bot] 7948cb7924
build(deps): bump vmactions/freebsd-vm from 0.1.9 to 0.2.0
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.1.9 to 0.2.0.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.1.9...v0.2.0)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 06:45:20 +00:00
Sylvestre Ledru 5eafcc4801
Use macos-12 for freebsd hosts 2022-07-19 14:04:03 +02:00
Sylvestre Ledru ce12dec5c9
freebsd-vm - update to 0.1.9 2022-07-18 16:17:20 +02:00
dependabot[bot] 04ddf559ec build(deps): bump vmactions/freebsd-vm from 0.1.7 to 0.1.8
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.1.7...v0.1.8)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 12:12:19 +02:00
dependabot[bot] 2e39f6faf2
build(deps): bump vmactions/freebsd-vm from 0.1.6 to 0.1.7
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.1.6...v0.1.7)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-13 06:41:10 +00:00
Sylvestre Ledru 37b754f462
Build & install grcov ourselves + force the version of crossbeam-epoch (#3702)
Fixes:
https://github.com/uutils/coreutils/issues/3680
https://github.com/mozilla/grcov/issues/849
2022-07-07 15:21:39 +02:00
Sylvestre Ledru c2d1d061ef Pin the cross version in the ci (Closes: #3683) 2022-06-29 17:53:08 +02:00
Sylvestre Ledru 1bd5014235
Coverage jobs should start at the same time as others
No need to wait for the regular builds
esp as they might have intermittent
2022-06-22 22:43:16 +02:00
Sylvestre Ledru 8b1236c081
github: continue the other coverage jobs if one fails 2022-06-06 21:21:19 +02:00
dependabot[bot] 5d628310fc
build(deps): bump vmactions/freebsd-vm from 0.1.5 to 0.1.6
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](https://github.com/vmactions/freebsd-vm/compare/v0.1.5...v0.1.6)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-13 06:45:15 +00:00
Sylvestre Ledru 6f5d5aa456
Merge pull request #3492 from uutils/dependabot/github_actions/codecov/codecov-action-3
build(deps): bump codecov/codecov-action from 1 to 3
2022-05-12 08:40:16 +02:00
Sylvestre Ledru 91653fff28
Merge pull request #3494 from uutils/dependabot/github_actions/actions/cache-3
build(deps): bump actions/cache from 2 to 3
2022-05-12 08:39:40 +02:00
Sylvestre Ledru a3e4f7d375
Merge pull request #3495 from uutils/dependabot/github_actions/actions/checkout-3
build(deps): bump actions/checkout from 2 to 3
2022-05-12 08:36:50 +02:00
dependabot[bot] 28c6403ffa build(deps): bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 12:59:21 +02:00
dependabot[bot] fd057574d7 build(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 12:59:18 +02:00
dependabot[bot] 372d460d7a build(deps): bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 12:59:15 +02:00
dependabot[bot] eeec680c37 build(deps): bump codecov/codecov-action from 1 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 12:59:08 +02:00
Sylvestre Ledru 3a576f2441 time: Various fixes 2022-05-01 17:00:35 +02:00
Sylvestre Ledru f810b55d86 build in verbose mode (cfg isn't used) 2022-05-01 17:00:35 +02:00
Justin Tracey 4caeb2ff1d add Android to CICD 2022-04-20 08:44:49 +02:00
Sylvestre Ledru 2bed02b70a Revert the force set of the rustc nightly version 2022-04-13 11:57:11 +02:00
Terts Diepraam aae298f9a4 Don't pass features when testing individual utils in uucore 2022-04-06 23:23:47 +02:00
Terts Diepraam 31faf86cdb Don't provide features for testing individual utilities
With the Rust 2021 feature resolver, adding a feature like `--features=feat_os_unix` results in an error, because the individual crates do not have that feature.
2022-04-06 11:49:00 +02:00
Terts Diepraam 3629421e17 Bump MSRV to 1.56 2022-04-02 15:18:34 +02:00