blob: 9e67892720cbf6e9e913a281d235c215441baa15 (
plain)
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
|
# green-eye harness CI: build the SDK/demo and run the tool test suite.
# Local simulator only: no secrets, no hardware, no guest, no kernel module.
name: green-eye
on:
push:
paths:
- 'debug/risc-v-gsp-rm-vm/**'
- 'tools/rm*/**'
pull_request:
paths:
- 'debug/risc-v-gsp-rm-vm/**'
- 'tools/rm*/**'
jobs:
harness:
name: green-eye tests
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install toolchain
run: |
sudo apt-get update
sudo apt-get install -y qemu-system-misc clang lld-18
- name: Build SDK and demo
run: make -C debug/risc-v-gsp-rm-vm sdk demo
- name: Run unit tests
working-directory: debug/risc-v-gsp-rm-vm
run: python3 -m unittest discover -s tests -t .
|