From 86060fadc2dd3e59f044ab17e53a4fbc878d4ea3 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Fri, 29 Sep 2023 15:23:03 +1000 Subject: [PATCH] .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 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd31ba61..38f844c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -152,7 +152,7 @@ jobs: - name: Build detect-targets run: | 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 run: | docker run --rm \ @@ -174,7 +174,7 @@ jobs: with: key: ${{ matrix.os }} - name: Build detect-targets - run: cargo build --bin detect-targets + run: cargo build --bin detect-targets --features cli-logging - name: Run test in ubuntu run: | set -exuo pipefail