forked from chipsalliance/Cores-VeeR-EL2
-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (38 loc) · 1.07 KB
/
test-renode.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: Renode tests
on:
workflow_call:
jobs:
tests:
runs-on: ubuntu-latest
container: ghcr.io/antmicro/cores-veer-el2:latest
strategy:
fail-fast: false
env:
DEBIAN_FRONTEND: "noninteractive"
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install dependencies
run: |
sudo apt -qqy update && sudo apt -qqy --no-install-recommends install \
git python3 python3-pip build-essential ninja-build ccache \
gcc-riscv64-unknown-elf
pip3 install meson
- name: Build tests
run: |
export RV_ROOT=`pwd`
cd ./tools/renode
./build-all-tests.sh
- name: Run tests
run: |
cd ./tools/renode
pip install -r /opt/renode/tests/requirements.txt
/opt/renode/renode-test veer.robot
- name: Upload artifacts
if: always()
uses: actions/upload-artifact@v3
with:
name: renode_results
path: tools/renode/logs/*log