-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (36 loc) · 971 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
name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Check
# Grab a newer Verilator than 18.04
runs-on: ubuntu-20.04
steps:
- name: Install simulators
run: |
# TODO: Replace when iverilog is updated upstream
wget https://storage.googleapis.com/bluecmd/iverilog_11.0-0_amd64.deb
sudo apt-get install verilator python3-pip ./iverilog_11.0-0_amd64.deb
- name: Install cocotb
run: |
pip3 install cocotb
echo "::add-path::${HOME}/.local/bin"
- name: Check out code
uses: actions/checkout@v2
with:
path: main
- name: Check out non-free
uses: actions/checkout@v2
with:
repository: bluecmd/fejkon-non-free
token: ${{ secrets.BOT_PAT }}
path: non-free
- name: Test
run: |
export QPATH="${PWD}/non-free/quartus/"
cd main
./utils/presubmit-test.sh