Commit graph

303 commits

Author SHA1 Message Date
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
029e0dc613
Extend the number of dependabot alerts 2022-06-15 09:09:08 +02:00
Sylvestre Ledru
8b1236c081
github: continue the other coverage jobs if one fails 2022-06-06 21:21:19 +02:00
Sylvestre Ledru
7a599c26ff dependabot: remove trailing space 2022-05-20 09:27:44 +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
565e4855ca
Merge pull request #3493 from uutils/dependabot/github_actions/EndBug/add-and-commit-9
build(deps): bump EndBug/add-and-commit from 7 to 9
2022-05-12 08:40:02 +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]
376f6a158b build(deps): bump EndBug/add-and-commit from 7 to 9
Bumps [EndBug/add-and-commit](https://github.com/EndBug/add-and-commit) from 7 to 9.
- [Release notes](https://github.com/EndBug/add-and-commit/releases)
- [Changelog](https://github.com/EndBug/add-and-commit/blob/main/CHANGELOG.md)
- [Commits](https://github.com/EndBug/add-and-commit/compare/v7...v9)

---
updated-dependencies:
- dependency-name: EndBug/add-and-commit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 12:59:12 +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
56264ebece
Merge branch 'main' into 2884-time-0.3 2022-05-07 20:57:14 +02:00
Sylvestre Ledru
a640ed6489 fix the GNU error detection 2022-05-07 09:52:03 +02:00
Sylvestre Ledru
39520a84ab fix the GNU error detection 2022-05-06 23:54:12 +02:00
Sylvestre Ledru
18f8e168ff
Merge pull request #3488 from turrisxyz/feat/dependabot-github-actions
chore: Included githubactions in the dependabot config
2022-05-06 08:37:45 +02:00
naveensrinivasan
608b1afde5
chore: Included githubactions in the dependabot config
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
2022-05-05 19:38:10 -05:00
Sylvestre Ledru
f6b9d36891
Merge pull request #3453 from turrisxyz/setup-permissions
chore: Set permissions for GitHub actions
2022-05-05 08:00:20 +02:00
Sylvestre Ledru
9b69e6fd47
Merge branch 'main' into 2884-time-0.3 2022-05-02 18:14:14 +02:00
Sylvestre Ledru
ae65dcc7d2 GNU CI: show the new error 2022-05-01 19:00:55 +02:00
Sylvestre Ledru
417b4a22d0 GNU CI: show the new error 2022-05-01 17:07:29 +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
naveen
adfe4b2289 chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-04-29 01:01:27 +00:00
Justin Tracey
4caeb2ff1d add Android to CICD 2022-04-20 08:44:49 +02:00
Sylvestre Ledru
b93fb8de70 update another ref to coreutils 9.1 2022-04-18 14:56:11 +02:00
Sylvestre Ledru
9813f48ed8 GNU/Coreutils: update the reference to 9.1 2022-04-18 00:34:42 +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
Sylvestre Ledru
87c224e978
GNU testsuite: also show the number of SKIP tests 2022-04-01 10:00:44 +02:00
Roy Ivy III
bed7dc5a29 maint/CICD ~ (GnuTests) support local bespoke repo default branch 2022-03-31 23:39:11 +02:00
Roy Ivy III
a6e3564c5d fix/CICD ~ (GnuTests) be more precise about failing/passing tests 2022-03-31 23:32:28 +02:00
Roy Ivy III
cbe6396149 docs ~ (GnuTests) add reference and notes re GNU coreutils testing processes 2022-03-31 23:32:00 +02:00
Sylvestre Ledru
9e86e56668
Remove a comment to retrigger the CI 2022-03-25 15:28:45 +01:00
Sylvestre Ledru
22e06c2458 also fix coverage 2022-03-25 12:06:41 +01:00
Sylvestre Ledru
c4d89ab146 ci try to fix the error ? 2022-03-25 11:01:05 +01:00
Sylvestre Ledru
2acac0d558 CI: Force the rustc nightly version to fix issue 3305 2022-03-25 09:41:01 +01:00
Terts Diepraam
cf4a0fa5c8 also run unittests in codecov 2022-03-19 22:21:28 +01:00
Terts Diepraam
971f817a95 fix unittests not running in CI 2022-03-19 09:30:49 +01:00
Sylvestre Ledru
ad237f8fff
Merge pull request #3267 from sylvestre/gnu-size
GNU ci: compress logs before upload
2022-03-19 09:25:25 +01:00
Sylvestre Ledru
cb576effc2 GNU ci: compress logs before upload 2022-03-18 20:45:12 +01:00
Benjamin Bouvier
323f0ef993 Setup cargo-deny in CI too 2022-03-18 20:44:01 +01:00
Sylvestre Ledru
a5948ce11b
Merge pull request #3155 from jtracey/gecos-off-by-one
pinky: fix off-by-one in GECOS parsing
2022-03-17 13:35:05 +01:00
Sylvestre Ledru
0571434a75 ci: rename of the tracking size field to match the tracking project 2022-03-13 21:03:40 +01:00
Sylvestre Ledru
a22709aedd CI: Disable Windows job i686-pc-windows-gnu
Fails with:
error: linker `i686-w64-mingw32-gcc` not found
And the Windows GNU is covered by x86_64-pc-windows-gnu anyway
2022-03-08 22:57:32 +01:00
Sylvestre Ledru
9f5fad1e38 add a job to build with rust nightly 2022-03-08 22:57:32 +01:00
Sylvestre Ledru
2a48234c12 add a job to build with rust stable 2022-03-08 22:57:32 +01:00
Sylvestre Ledru
e3649e33c5 remove old comment 2022-03-08 22:57:32 +01:00
Sylvestre Ledru
f896834c77 Use min rust version as default 2022-03-08 22:57:28 +01:00
Justin Tracey
f52f655934 pinky: improve tests 2022-03-07 12:32:07 -05:00
Sylvestre Ledru
b85cc90586
Fix yaml syntax 2022-03-06 23:33:22 +01:00
Sylvestre Ledru
dfb794d37c
Run dependabot to update deps 2022-03-06 23:32:12 +01:00
xxyzz
6174cad334 Run GNU coverage job on pull requests
GNU coverage job now takes around one hour to finish thanks to contributors' work. Run it on pull requests to compare the GNU coverage report.
2022-03-05 13:49:35 +01:00
Sylvestre Ledru
91852d9768
Update to ubuntu latest until https://github.com/uutils/coreutils/issues/3210 is fixed 2022-03-04 12:52:57 +01:00
Sylvestre Ledru
f11ac4b076
Merge pull request #3166 from sylvestre/rust-cache
try to use rust-cache on github action to build faster
2022-02-21 17:35:22 +01:00
xxyzz
744592e221
Change the owner of gcda files to the current user 2022-02-20 19:15:48 +08:00
Sylvestre Ledru
9adaf5c288
Merge pull request #3045 from xxyzz/main
Create coverage report for GNU tests
2022-02-20 10:57:12 +01:00
Sylvestre Ledru
83d2f550ab try to use rust-cache on github action to build faster 2022-02-19 21:26:34 +01:00
Roy Ivy III
0af2c9bafb maint/CICD ~ (GnuTests) display sub-step test comparison failures more prominently 2022-02-17 15:14:51 -06:00
xxyzz
ce02eae14b
tests/misc/tty-eof.pl requires Perl's Expect package >=1.11 2022-02-14 16:29:39 +08:00
xxyzz
1dbd474339
There are four GNU tests require valgrind 2022-02-14 16:28:50 +08:00
xxyzz
18b11cb2cf
Create coverage report for GNU tests 2022-02-14 16:27:09 +08:00
Terts Diepraam
ac11d8793e docs: add page with test coverage 2022-02-13 23:14:13 +01:00
Terts Diepraam
1167d811d5
Merge pull request #2753 from sylvestre/gnu-locale
gnu/test: add the iso en_us locale to help with some tests
2022-02-13 12:59:33 +01:00
Roy Ivy III
38ac68ff33 maint/CICD ~ (GnuTests) remove unneeded GNULIB references 2022-02-12 15:26:59 -06:00
Roy Ivy III
29679ba337 maint/CICD ~ (GnuTests) refactor GnuTests GHA config
- combine gnu/gnulib into single repository checkout
- code consolidation
- DRY changes
- variable consolidation and renaming
- job/step naming normalization
2022-02-12 15:26:59 -06:00
Roy Ivy III
f75cfbdebc docs ~ (CICD/util) add/revise spell-checker exceptions 2022-02-12 15:26:59 -06:00
Roy Ivy III
fb4b523353 maint/CICD ~ (GnuTests) add 'repo_default_branch' to VARs 2022-02-12 15:26:59 -06:00
Roy Ivy III
ee40e99437 maint/CICD ~ (GnuTests) use last 'completed' GnuTests on default branch as reference 2022-02-12 15:26:59 -06:00
Sylvestre Ledru
25490b2100 gnu/test: add the iso en_us locale to help with some tests 2022-02-12 19:20:17 +01:00
Roy Ivy III
578e5c8aba maint/CICD ~ implement 'GnuTests' workflow fixes/refactor
- consolidate configuration
- DRY improvements
- improve flexibility/robustness in the face of missing reference test info
- add reference test info IDs and additional logging to help diagnose testing failures
- includes parallel refactor of 'util/run-gnu-test.sh'
2022-02-05 14:21:15 -06:00
Roy Ivy III
cc61ea807e docs/CICD ~ add spell-checker exceptions 2022-02-05 14:21:15 -06:00
Roy Ivy III
f01c3ef46a maint/polish ~ whitespace normalization 2022-02-03 15:00:05 -06:00
Roy Ivy III
caad4db712 maint/CICD ~ add MSRV check for '.clippy.toml' 2022-02-03 15:00:05 -06:00
Sylvestre Ledru
a20bf22592
Merge pull request #2974 from sylvestre/ci-size
Run the release builds and store the size
2022-01-30 22:17:05 +01:00
Sylvestre Ledru
90949ae045 Run the release builds and store the size 2022-01-30 19:58:47 +01:00
Sylvestre Ledru
6112ac5750 ci: Remove the sphinx legacy 2022-01-30 19:50:59 +01:00
Sylvestre Ledru
170975aeaa run the build of the doc in the ci 2022-01-29 00:35:14 +01:00
Justin Tracey
2ccea4666d
update GNU coreutils version in GnuTests workflow 2022-01-26 05:23:28 +00:00
Jeffrey Finkelstein
bfc0d81481 ci: update default branch to "main" in workflows 2022-01-21 23:07:16 -05:00
Terts Diepraam
783170c9d8 change msrv to 1.54 2022-01-15 11:08:07 +01:00
Roy Ivy III
cd79bc49bc maint/CICD ~ ignore 'vendor' for CodeCov 2022-01-01 17:50:30 -06:00
Roy Ivy III
790884b177 maint/CICD ~ add dependencies between CI job steps (using 'needs')
- the build and test steps won't run until/unless Dependency and MSRV checks pass
- code coverage won't run until/unless the build steps all pass

## [why]

This helps make more efficient use of CI resources and can help more easily visualize
build issues from the resultant GHA dashboard flow diagram.
2021-11-19 18:04:55 -06:00
Roy Ivy III
39a6e6c75b maint/CICD ~ (GHA) normalize setup sub-step ordering 2021-11-19 17:55:02 -06:00
Roy Ivy III
047c17dd31 maint/CICD - (GHA) standardize job step ordering (install, vars, prereq, toolchain, ...) 2021-11-19 17:55:02 -06:00
Roy Ivy III
0b10e69f56 maint/CICD ~ (GHA) repair broken cspell by pinning it to version v4.2.8
## [why]

`cspell` in CI started mysteriously failing mid-2021. Tracking down the
error took some time as it was not obvious from `cspell` feedback where
the issue lay. Ultimately, it was discovered that `cspell` had deprecated
use on NodeJS versions < v12 for `cspell` v5+.

`cspell` is now pinned to v4.2.8, with a maintenance note to allow an
upgrade to the `cspell` version when a version of NodeJS >= v12 is being
used in the CI.

An issue requesting better tool feedback for similar situations was also
opened on the `cspell` repo.[*]

[*]: [🙏🏻 Add warning (or error) when used on deprecated/outdated JS platform versions](https://github.com/streetsidesoftware/cspell/issues/1984)
2021-11-19 17:55:02 -06:00
Roy Ivy III
aba1c8f596 maint/CICD ~ (GHA) disable tool cache use for 'action-rs/install'
# [why]

The tool cache is currently failing and seems to be getting further behind current
versions. The [actions-rs/install#12] issue addresses this but seems to be
languishing without any proposed solution.

[ref]: <actions-rs/install#12>
2021-11-19 17:55:02 -06:00
Roy Ivy III
12419b3ee2 maint/CICD ~ (GHA) reform 'unused dependency check' (cargo udeps ...) into a style warning 2021-11-19 17:55:02 -06:00
Roy Ivy III
a6635d62c7 maint/CICD ~ (GHA) use 'feat_os_unix' consistently for ubuntu jobs 2021-11-19 17:55:01 -06:00
Roy Ivy III
37a3c68f3a maint/CICD ~ (GHA) add style fault configurability (fail vs warn)
- add individual job-step control for 'style' step faults (build failure vs only a warning)
2021-11-19 17:55:01 -06:00
Roy Ivy III
c951806e70 maint/CICD ~ (GHA) fix cargo clippy lint
- fixes conversion of new `cargo clippy` output style to GHA annotations

## [why]

`cargo clippy` output formatting changed, using relative instead of absolute paths.
2021-11-19 17:55:01 -06:00
Sylvestre Ledru
c0af58881e remove some unused codecov declarations 2021-11-16 10:10:30 +01:00
Tom Parker-Shemilt
0c33905e60 Fix FreeBSD build by downgrading MacOS version 2021-11-02 18:56:01 +00:00