Commit graph

544 commits

Author SHA1 Message Date
Jeremy Soller
1919b3ba17
Add Redox OS CI 2023-12-11 13:57:48 -07:00
Daniel Hofstetter
3dad5d4d56
Merge pull request #5635 from tertsdiepraam/fix-echo-override
`echo`: make `-e` and `-E` override each other
2023-12-11 14:21:15 +01:00
Terts Diepraam
f165c8e1fd fuzz/echo: set should_pass to true 2023-12-11 13:40:55 +01:00
Sylvestre Ledru
9d0c1b3482 fuzzing: quick timeout because seq is freezing 2023-12-11 11:02:50 +01:00
renovate[bot]
7279fbe91c
chore(deps): update vmactions/freebsd-vm action to v1.0.5 2023-12-10 01:38:33 +00:00
Sylvestre Ledru
2fcfec6490 fuzz seq 2023-12-05 22:10:15 +01:00
Sylvestre Ledru
d913057b04
Merge pull request #5600 from sylvestre/fuzz-echo
Fuzz the echo command
2023-12-04 22:03:20 +01:00
renovate[bot]
d4b22a192d
chore(deps): update vmactions/freebsd-vm action to v1.0.4 2023-12-04 19:09:30 +00:00
renovate[bot]
f414110083
chore(deps): update vmactions/freebsd-vm action to v1.0.3 2023-12-03 12:49:28 +00:00
Piotr Kwiecinski
4d2bdf497a prevent CI creating 2 events on each pull request push 2023-12-01 11:52:23 +01:00
Piotr Kwiecinski
8d591a7acc Bump freebsd-vm action to v1.0.2 & use ubuntu 2023-11-30 18:09:42 +01:00
Sylvestre Ledru
4d5c034eb1 Run the echo fuzzer in the CI 2023-11-30 09:14:58 +01:00
renovate[bot]
04e568db73
chore(deps): update davidanson/markdownlint-cli2-action action to v14 2023-11-26 00:47:15 +00:00
Sylvestre Ledru
a0ac3dd229
fuzz printf (#5556)
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-11-21 12:38:12 +01:00
Sylvestre Ledru
90b61a8c5c fuzzing: add a variable to state if we know it fails or not 2023-11-20 22:18:32 +01:00
renovate[bot]
1f40cd69c8
chore(deps): update actions/github-script action to v7 2023-11-13 18:55:11 +00:00
Daniel Hofstetter
cdbc7bb416 ci: remove outdated comment 2023-11-12 13:41:29 +01:00
David Zbarsky
70c48fca78 Add darwin arm64 builds 2023-11-11 14:17:03 -05:00
Kostiantyn Hryshchuk
6ac1af6953 Fix clippy::implicit_clone 2023-11-04 21:04:29 +01:00
tommady
615b562b64
github action: split the run of the fuzzers (#5444)
* fix-5443 by using strategy
2023-10-31 09:08:40 +01:00
tommady
f979f148c1
fuzz: store the corpus using GitHub Cache (#5363) 2023-10-14 07:33:43 +02:00
Miles Liu
cd51eb8eb5
ci: code-quality workflow doesn't fail on clippy errors 2023-10-13 14:13:10 +08:00
Sylvestre Ledru
b802c8cc3f
Merge branch 'main' into clippy2 2023-10-09 15:49:25 +02:00
Sylvestre Ledru
02ab93c141 github action: name the toml task 2023-10-08 17:54:36 +02:00
Sylvestre Ledru
4d122d7dd0 Move rustfmt + clippy + typo check into it own workflow 2023-10-08 17:53:19 +02:00
Sylvestre Ledru
5ac1aef20e github action: move the fuzzing action into it own file/task 2023-10-08 17:34:52 +02:00
Sylvestre Ledru
6d24549156 github action: enable clippy::cognitive_complexity 2023-10-08 17:32:03 +02:00
Sylvestre Ledru
4ed58718a8 github action: extract the warnings into a variable 2023-10-08 17:31:50 +02:00
Sylvestre Ledru
98cfb0c322 Binary sizes: handle when 0 (relpath removal) 2023-10-06 22:08:14 +02:00
Sylvestre Ledru
ec7ced2518 Fuzz the expr command 2023-09-24 18:47:15 +02:00
Daniel Hofstetter
5eb1fd0b02 ci: remove committing from CheckScripts.yml 2023-09-20 10:36:32 +02:00
renovate[bot]
5586e7bf2b
chore(deps): update davidanson/markdownlint-cli2-action action to v13 2023-09-20 04:47:16 +00:00
renovate[bot]
514315462c
chore(deps): update mfinelli/setup-shfmt action to v3 2023-09-18 19:47:21 +00:00
Daniel Hofstetter
dec788dec3
Revert "chore(deps): update codecov/codecov-action action to v4" 2023-09-15 09:25:04 +02:00
renovate[bot]
0d07cefee8
chore(deps): update codecov/codecov-action action to v4 2023-09-14 17:49:59 +00:00
Daniel Hofstetter
335e8d5464 ci: replace deprecated "command" with "fix"
markdownlint-cli2-action deprecated "command" input in favor of "fix"
2023-09-12 16:08:19 +02:00
renovate[bot]
044e09786e
chore(deps): update actions/checkout action to v4 2023-09-04 15:42:41 +00:00
Daniel Hofstetter
f0923094d2 Bump MSRV to 1.70 2023-09-04 07:18:18 +02:00
Daniel Hofstetter
67977f4a0e
Merge pull request #5221 from sylvestre/gnu-9.4
upgrade to GNU/coreutils 9.4
2023-08-30 11:36:22 +02:00
renovate[bot]
ef564d2cd1
chore(deps): update davidanson/markdownlint-cli2-action action to v12 2023-08-30 07:46:54 +00:00
Sylvestre Ledru
837e0681af upgrade to GNU/coreutils 9.4 2023-08-29 19:29:35 +02:00
Sylvestre Ledru
57a2a8323c fuzz the test command 2023-08-21 09:09:09 +02:00
Miles Liu
749a2476f4
make: uninstall man pages 2023-07-20 16:24:48 +08:00
Sylvestre Ledru
1b4ef90e25
Merge pull request #5077 from starccy/ci-checkshell-workflow
ci: Add a new workflow to check and format shell scripts in `util` dir
2023-07-16 10:06:28 +02:00
Daniel Hofstetter
a0f527c2aa ci: add default_trait_access lint to CICD.yml 2023-07-14 13:41:16 +02:00
Starccy
1ba5034035 chore: add new workflow to check shell scripts 2023-07-13 15:32:25 +08:00
Piotr Kwiecinski
bdd8729cc2 fix: fixpr.yml unrecognized named-value: 'steps'
simplify passing variables to github output

fix warning with add-and-commit action
2023-07-08 13:44:39 +02:00
renovate[bot]
2f1b710752
chore(deps): update vmactions/freebsd-vm action to v0.3.1 2023-06-25 12:12:26 +00:00
Sylvestre Ledru
a3fe70f7b2 try to fix ignore intermittent 2023-06-20 23:14:54 +02:00
renovate[bot]
fe5bf911e5
chore(deps): update davidanson/markdownlint-cli2-action action to v11 2023-06-13 06:09:54 +00:00
Sylvestre Ledru
18cbb862e2
Create a FUNDING.yml file
The sponsor will be used for improving the CI machines on github
2023-06-11 18:53:42 +02:00
Sylvestre Ledru
e115ee5446 Run format toml in the CI 2023-06-08 09:06:30 +02:00
Sylvestre Ledru
29027405d7
Revert "specify the sccache version " 2023-06-04 13:03:31 +02:00
Sylvestre Ledru
ca9cf3757b specify the sccache version because of https://github.com/mozilla/sccache/issues/1789 2023-06-04 09:15:37 +02:00
Sylvestre Ledru
137fb4b0b5
Merge pull request #4771 from Joining7943/ci-improve-setup-steps-use-github-actions
`ci`: Improve and speed up setup steps using github actions
2023-05-15 20:45:27 +02:00
Joining7943
a569f6167e ci/gnu tests: Fix Swatinem/rust-cache action to use the correct workspace 2023-05-15 10:51:02 +02:00
Joining7943
4b243ba272 ci: Cleanup enviroment variables which are already set by github actions 2023-05-15 10:48:53 +02:00
Joining7943
2935e5d8f9 ci: Use dtolnay/rust-toolchain to install the toolchain instead of the manual setup 2023-05-15 10:48:53 +02:00
Joining7943
e6f999a32f ci: Install pre-built binaries instead of using cargo install 2023-05-15 10:48:53 +02:00
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
Sylvestre Ledru
bef5dca40a
Merge pull request #4745 from Joining7943/ci-android-speed-up-build-and-test
ci/android: speed up build and test
2023-04-21 09:36:15 +02:00
Joining7943
ad5d33f1a9 ci/android: Fix and improve caching. Fix and improve android-commands.sh 2023-04-20 17:36:25 +02:00
Joining7943
56d8b5a617 ci/android: Remove caching with Swatinem/rust-cache and sccache. 2023-04-20 16:48:25 +02:00
Daniel Hofstetter
c571a31405 GNU/coreutils: update reference to 9.3 2023-04-20 16:44:50 +02:00
Joining7943
3495b82499 ci/android: Use different caching strategy 2023-04-19 22:06:12 +02: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
b005b0e0ed CICD: fix full path for the ignore list 2023-04-11 15:22:44 +02:00
Sylvestre Ledru
0a559ab3de
Use the full path for the ignore list 2023-04-10 19:24:25 +02:00
Daniel Hofstetter
74d4cf2637 CICD: remove "continue-on-error" in fuzz_date step 2023-03-29 07:58:56 +02:00
Sylvestre Ledru
634fdcf9b1
Remove android from the job name (as it is now a workspace) 2023-03-28 21:23:51 +02:00
Miles Liu
5e3d901592
CI: linting and formatting checks for FreeBSD 2023-03-28 15:13:07 +08:00
Sylvestre Ledru
722b4aae5e
Merge pull request #4541 from sylvestre/intermittent
CI: Also ignore intermittent when starting to pass
2023-03-27 21:57:14 +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
d4b84c373c
Merge pull request #4601 from cakebaker/update_reference_to_9.2
GNU/coreutils: update reference to 9.2
2023-03-24 17:03:33 +01:00
Daniel Hofstetter
e155994dc5 GNU/coreutils: update reference to 9.2 2023-03-24 14:25:40 +01:00
Sylvestre Ledru
8774a09eb4 remove dependabot configuration. we are using renovatebot 2023-03-24 10:38:02 +01: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
7fd0e1e64d CI: Also ignore intermittent when starting to pass
Example:
Congrats! The gnu test tests/tail-2/inotify-dir-recreate is no longer failing!
2023-03-18 17:43:48 +01:00
Sylvestre Ledru
d41591f293 CI: move the intermittent list into a file 2023-03-18 17:43:48 +01: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
794df2ae7a GH action: install missing dependencies
Fails with:
```
2023-03-01T22:02:40.2587471Z configure: WARNING: libacl development library was not found or not usable.
2023-03-01T22:02:40.2588131Z configure: WARNING: GNU coreutils will be built without ACL support.
2023-03-01T22:03:03.7621309Z configure: WARNING: libattr development library was not found or not usable.
2023-03-01T22:03:03.7621976Z configure: WARNING: GNU coreutils will be built without xattr support.
2023-03-01T22:03:04.6538269Z configure: WARNING: libcap library was not found or not usable.
2023-03-01T22:03:04.6539022Z configure: WARNING: GNU coreutils will be built without capability support.
```
2023-03-02 14:25:39 +01:00
Sylvestre Ledru
18870e3787 GH action: be consistent in the install 2023-03-02 14:23:46 +01:00
Sylvestre Ledru
3d3beb5437
Merge pull request #4296 from sylvestre/gnu-intermittent
GNU: Ignore some intermittent
2023-02-18 16:54:28 +01:00
Sylvestre Ledru
2f64dc9d03 GNU: Ignore some intermittent
We have a list, no need to show them over and over.
They are adding noise:
https://github.com/orgs/uutils/projects/2
2023-02-18 10:17:50 +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
Sylvestre Ledru
8db51b0167
Extend the stale bot to 3 years 2023-01-30 08:51:28 +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
Sylvestre Ledru
4cada56e78 Move the dependabot to weekly
We don't need to move that fast
2022-11-29 22:51:58 +01:00
Niyaz Nigmatullin
328b387dbd gnu-tests: rollback to ubuntu-20.04 for gnu-tests until it fixed 2022-11-29 18:43:12 +02:00
Daniel Hofstetter
f079c7aa80 CI: change python-pyinotify to python3-pyinotify 2022-11-24 15:30:02 +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
Niyaz Nigmatullin
17ec577d9a CI: switch back to use output-type in grcov
`output-types` coming in new version, we are getting
`grcov` here from `crates.io`, so no `output-type`.
`grcov` has commit to support old `output-type` as well.
2022-11-15 09:54:13 +02: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
Alex
d5ab502f42 build: harden GnuComment.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-10-30 23:52:55 +02:00
Sylvestre Ledru
aa81f4675f
Merge pull request #3994 from tertsdiepraam/msrv-1.60
Bump MSRV to 1.60
2022-10-12 21:55:09 +02:00
Terts Diepraam
f8f3ae3c65 bump msrv to 1.60 2022-10-12 12:09:28 +02:00
Terts Diepraam
0a446db839 CI/GnuComment: update github-script action 2022-10-12 12:08:33 +02:00
Sylvestre Ledru
15ed0534ba
Improve the formating + remove debug message 2022-10-12 09:26:20 +02:00
Sylvestre Ledru
e127fb2eba
GNU comment: Need casting ... 2022-10-11 22:19:49 +02:00
Sylvestre Ledru
d68dd23a56
GNU comment: Only display a comment if there is any (#4026)
* GNU comment: Only display a comment if there is any
2022-10-11 20:58:00 +02:00