ci: doc: use target matrix #243
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
push: | |
branches: | |
main | |
jobs: | |
test_riscv64: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: cachix/install-nix-action@v27 | |
- name: Run tests | |
run: nix develop --command sh -c " | |
cd riscv64_qemuvirt && | |
cargo run -F launch_tests | |
" | |
test_aarch64: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: cachix/install-nix-action@v27 | |
- name: Enter nix | |
run: nix develop | |
- name: Run tests | |
run: nix develop --command sh -c " | |
cd aarch64_qemuvirt && | |
cargo run -F launch_tests | |
" |