mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
feat(github): add CI/test_separately job
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
This commit is contained in:
parent
8b82fcd134
commit
8d4763bdec
1 changed files with 20 additions and 0 deletions
20
.github/workflows/CICD.yml
vendored
20
.github/workflows/CICD.yml
vendored
|
@ -1047,3 +1047,23 @@ jobs:
|
||||||
flags: ${{ steps.vars.outputs.CODECOV_FLAGS }}
|
flags: ${{ steps.vars.outputs.CODECOV_FLAGS }}
|
||||||
name: codecov-umbrella
|
name: codecov-umbrella
|
||||||
fail_ci_if_error: false
|
fail_ci_if_error: false
|
||||||
|
|
||||||
|
test_separately:
|
||||||
|
name: Separate Builds
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
- name: build and test all programs individually
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
for f in $(util/show-utils.sh)
|
||||||
|
do
|
||||||
|
echo "Building and testing $f"
|
||||||
|
cargo test -p "uu_$f" || exit 1
|
||||||
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue