.github: build detect-targets with cli-logging (#1428) (#1429)

Without this we get much less useful output if these tests fail.

Co-authored-by: Tamir Duberstein <tamird@gmail.com>
This commit is contained in:
Jiahao XU 2023-09-29 15:23:03 +10:00 committed by GitHub
parent 1a244cb0d3
commit 86060fadc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,7 +152,7 @@ jobs:
- name: Build detect-targets - name: Build detect-targets
run: | run: |
pip3 install -r zigbuild-requirements.txt pip3 install -r zigbuild-requirements.txt
cd crates/detect-targets && cargo zigbuild --target $TARGET cargo zigbuild --bin detect-targets --features cli-logging --target $TARGET
- name: Run test in alpine - name: Run test in alpine
run: | run: |
docker run --rm \ docker run --rm \
@ -174,7 +174,7 @@ jobs:
with: with:
key: ${{ matrix.os }} key: ${{ matrix.os }}
- name: Build detect-targets - name: Build detect-targets
run: cargo build --bin detect-targets run: cargo build --bin detect-targets --features cli-logging
- name: Run test in ubuntu - name: Run test in ubuntu
run: | run: |
set -exuo pipefail set -exuo pipefail