Skip to content

Commit 7397afc

Browse files
committed
try to test the uumain function too
1 parent 7be6ab9 commit 7397afc

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/CICD.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,19 @@ jobs:
569569
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort'
570570
RUSTDOCFLAGS: '-Cpanic=abort'
571571
# RUSTUP_TOOLCHAIN: ${{ steps.vars.outputs.TOOLCHAIN }}
572+
- name: Test individual utilities uumain
573+
run: |
574+
## Dependent VARs setup
575+
# * determine sub-crate utility list
576+
make build-pkgs
577+
UTILITY_LIST="$(./util/show-utils.sh ${CARGO_FEATURES_OPTION})"
578+
# Just run help
579+
CARGO_UTILITY_LIST_OPTIONS="$(for u in ${UTILITY_LIST}; do ./target/debug/${u} --help; done;)"
580+
env:
581+
CARGO_INCREMENTAL: '0'
582+
RUSTC_WRAPPER: ''
583+
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort'
584+
RUSTDOCFLAGS: '-Cpanic=abort'
572585
- name: "`grcov` ~ install"
573586
uses: actions-rs/install@v0.1
574587
with:

0 commit comments

Comments
 (0)