-
Notifications
You must be signed in to change notification settings - Fork 199
52 lines (37 loc) · 1.22 KB
/
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
45
46
47
48
49
50
51
52
# This is a basic workflow to help you get started with Actions
name: CI test
# Controls when the action will run.
on:
# Triggers the workflow on pull request events but only for the main & dev branch
pull_request:
branches: [ main , dev ]
# Triggers the workflow on push events
push:
branches: [ main , dev ]
# Allows you to run this workflow Actions manually
workflow_dispatch:
# Triggers the action 2am every day
schedule:
- cron: "0 2 * * *"
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
ACT-sail-spike:
runs-on: ubuntu-latest
container: ghcr.io/riscv-software-src/riscof/act:latest
strategy:
fail-fast: false
matrix:
isa_group:
- RV32IMCZicsr_Zifencei
- RV64IMCZicsr_Zifencei
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Config riscof
run: |
git config --global --add safe.directory '*'
riscof setup --dutname=spike
cp .github/isa_templates/${{ matrix.isa_group }}.yaml spike/spike_isa.yaml
- name: Run riscof
run: |
riscof --verbose debug run --suite . --env ./riscv-test-suite/env