From 05d911cd75361d5dd17a0cea693b234559474153 Mon Sep 17 00:00:00 2001 From: James Hiew Date: Thu, 5 Dec 2024 15:13:14 +0000 Subject: [PATCH] cI: cargo hack all the things --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e39f030..4a457bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,8 +33,9 @@ jobs: - name: Install system packages needed by Bevy run: | sudo apt-get install -y g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0 libwayland-dev libxkbcommon-dev + - uses: taiki-e/install-action@cargo-hack - uses: Swatinem/rust-cache@v2 - - run: cargo test --all-targets + - run: cargo hack test --all-targets --feature-powerset --skip dynamic-linking docs: runs-on: ubuntu-24.04 needs: lint @@ -44,8 +45,9 @@ jobs: - name: Install system packages needed by Bevy run: | sudo apt-get install -y g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0 libwayland-dev libxkbcommon-dev + - uses: taiki-e/install-action@cargo-hack - uses: Swatinem/rust-cache@v2 - - run: RUSTDOCFLAGS="-Dwarnings" cargo doc --document-private-items --no-deps --all-features + - run: RUSTDOCFLAGS="-Dwarnings" cargo hack doc --document-private-items --no-deps --feature-powerset --skip dynamic-linking check_other_oses: runs-on: ${{ matrix.os }} strategy: