Skip to content

Commit

Permalink
ci: doc: use target matrix
Browse files Browse the repository at this point in the history
Signed-off-by: Esteban Blanc <[email protected]>
  • Loading branch information
Skallwar committed Oct 9, 2024
1 parent 378b6ce commit aa513b8
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,11 @@ on:
jobs:
doc_riscv64:
runs-on: ubuntu-latest
env:
TARGET: riscv64gc-unknown-none-elf
steps:
- uses: actions/checkout@v2

- uses: cachix/install-nix-action@v27

- name: Build doc
run: nix develop --command sh -c "
cd kernel &&
cargo doc --target ${{ env.TARGET }} --all-features
"
doc_aarch64:
runs-on: ubuntu-latest
env:
TARGET: aarch64-unknown-none
strategy:
matrix:
target:
- aarch64-unknown-none
- riscv64gc-unknown-none-elf
steps:
- uses: actions/checkout@v2

Expand Down

0 comments on commit aa513b8

Please sign in to comment.