-
Notifications
You must be signed in to change notification settings - Fork 9
72 lines (60 loc) · 1.4 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: CI
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 5'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
pythontests:
timeout-minutes: 10
strategy:
matrix:
container:
- ubuntu:20.04
- ubuntu:22.04
- ubuntu:22.10
- ubuntu:23.04
- debian:unstable
fail-fast: false
runs-on: ubuntu-22.04
container: ${{ matrix.container }}
steps:
- name: Install basic deps
run: |
apt-get update -y
apt-get install -y \
git \
make \
python3 \
python3-pip \
python3-venv \
- uses: actions/checkout@v2
- name: Run python tests
run: |
make pythontests
verilator:
timeout-minutes: 40
runs-on: ubuntu-22.04
container: verilator/verilator:latest
steps:
- uses: actions/checkout@v2
- name: Run verilator tests
run: |
apt update
apt-get install -y python3-venv
make verilator
formal:
timeout-minutes: 10
runs-on: ubuntu-22.04
container: hdlc/yosys:latest
steps:
- uses: actions/checkout@v2
- name: Run formal tests
run: |
apt update
apt-get install -y python3-venv
make formal