Commit graph

515 commits

Author SHA1 Message Date
Daniel Hofstetter
e948d2e8e5 ci: install mingw-w64-x86_64-gcc for windows-gnu 2024-01-10 17:54:58 +01:00
Terts Diepraam
aafdf10dc8 CI: test uucore with coreutils to run it with the proper features 2024-01-10 14:03:53 +01:00
Daniel Hofstetter
833c1a0d3f ci: set -no-window in Android workflow 2024-01-08 16:19:43 +01:00
Sylvestre Ledru
d07a2f0d86
Add new fuzzers: cut, sort, split and wc (#5760)
* fuzz: use thread to bypass the limitation of output

Closes: #5724

many thanks to @samueltardieu

* fuzz: enable seq as the stalled issue is fixed

* fuzz: add 4 more fuzzers

* fuzz: enable the 4 new fuzzers in the CI

* remove old import

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* remove comment

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* remove comment

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* add more flags

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* add space

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* add a comment about sort local

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* wrong copy/paste

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>

* fuzz: import "std::env"

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2024-01-04 13:40:47 +01:00
Daniel Hofstetter
f3833bb652
Merge pull request #5758 from sylvestre/fuzz-thread
fuzz: use thread to bypass the limitation of output
2024-01-03 14:47:52 +01:00
Laurent Cheylus
0bc70e3ba1
CI: install GNU coreutils package for FreeBSD workflow
- util/show-utils.sh script is used by FreeBSD workflow => use realpath
    command from GNU coreutils instead of FreeBSD realpath.
  - install GNU coreutils (FreeBSD package coreutils) in style job

Signed-off-by: Laurent Cheylus <foxy@free.fr>
2024-01-02 22:05:03 +01:00
Sylvestre Ledru
08f51558bf fuzz: enable seq as the stalled issue is fixed 2024-01-01 13:27:01 +01:00
Sylvestre Ledru
413638c789
Improve the GNU ci analysis: display the root test changes too (#5728)
* try to compare the root results too

* Add debug info in the logs

* rename the variable for something more explicit

* Improve intermittent doc
2023-12-27 08:46:33 +01:00
Sylvestre Ledru
6e9d1abbb9
Merge pull request #5142 from uutils/renovate/ubuntu-22.x
chore(deps): update dependency ubuntu to v22
2023-12-25 22:24:55 +01:00
renovate[bot]
97a6df78a4 chore(deps): update dependency ubuntu to v22 2023-12-25 13:07:08 +01:00
Sylvestre Ledru
e232ec657e
Disable fuzzing seq until the https://github.com/uutils/coreutils/issues/5724 is fixed 2023-12-25 12:36:56 +01:00
Malte Poll
311901de3a ci: add aarch64-unknown-linux-musl release artifact 2023-12-22 11:28:26 +01:00
Daniel Hofstetter
d8d555dd66 ci: fix warnings from "cargo tree" 2023-12-18 08:26:22 +01:00
Sylvestre Ledru
ba0c89fc5e build-gnu.sh: build in debug by default. Easier for local dev 2023-12-16 15:06:58 +01:00
Daniel Hofstetter
8e3e6d38bf
Merge pull request #5654 from uutils/sylvestre-patch-3
ignore-intermittent.txt: adjust the renamed test name
2023-12-16 13:50:16 +01:00
Sylvestre Ledru
25ea3bac6a
Merge pull request #5642 from uutils/redox-ci
Add Redox OS CI
2023-12-16 10:25:29 +01:00
Sylvestre Ledru
cc0a0fdb20
ignore-intermittent.txt: adjust the renamed test name 2023-12-16 09:17:29 +01:00
Daniel Hofstetter
c2276f4f6b ci: rename test summary names for busybox & toybox 2023-12-15 17:10:24 +01:00
renovate[bot]
97857d5be0
chore(deps): update actions/upload-artifact action to v4 2023-12-14 17:51:36 +00:00
Jeremy Soller
ebe5c51cee
Format case statements 2023-12-13 08:47:16 -07:00
renovate[bot]
5d57fdc7f8
chore(deps): update dawidd6/action-download-artifact action to v3 2023-12-13 09:25:44 +00:00
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