Skip to content

Commit

Permalink
cI: cargo hack all the things
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshiew committed Dec 5, 2024
1 parent ca32af5 commit 05d911c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 05d911c

Please sign in to comment.