From 7268ee3a2c3d7eca95b74357ea53d5df30696070 Mon Sep 17 00:00:00 2001 From: "Esteban \"Skallwar\" Blanc" Date: Tue, 8 Oct 2024 16:12:39 +0200 Subject: [PATCH] ci: doc: use target matrix Signed-off-by: Esteban Blanc --- .github/workflows/doc.yml | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index ec052c9..241bb7a 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -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