From ff3edb642fa7a13b43b46489f5a2d3d2e5a36e9d Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Wed, 18 Jan 2023 20:54:33 -0800 Subject: [PATCH] github: build and test all targets It seems that at least examples are not included in the default set of targets, and we clearly want to check that the examples compile, as that's an important reason we have them. We don't have any tests for the examples yet, but let's add the flag now so we don't forget it later. --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0dedd3369..6039b07f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,9 +36,9 @@ jobs: with: toolchain: ${{ matrix.rust_version }} - name: Build - run: cargo build --workspace --verbose + run: cargo build --workspace --all-targets --verbose - name: Test - run: cargo test --workspace --verbose + run: cargo test --workspace --all-targets --verbose env: RUST_BACKTRACE: 1