-
Notifications
You must be signed in to change notification settings - Fork 3
44 lines (35 loc) · 1000 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Test
on:
pull_request:
push:
branches:
main
jobs:
test_riscv64:
runs-on: ubuntu-latest
env:
TARGET: riscv64gc-unknown-none-elf
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
components: clippy
targets: ${{ env.TARGET }}
- name: Install qemu
run: sudo apt-get update && sudo apt-get install qemu-system-misc opensbi
- run: cd riscv64_qemuvirt && cargo run -F launch_tests
test_aarch64:
runs-on: ubuntu-latest
env:
TARGET: aarch64-unknown-none
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
components: clippy
targets: ${{ env.TARGET }}
- name: Install qemu
run: sudo apt-get update && sudo apt-get install qemu-system-arm
- run: cd aarch64_qemuvirt && cargo run -F launch_tests