generated from chipsalliance/chisel-template
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (45 loc) · 1.54 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
name: Continuous Integration
on: [push, pull_request]
jobs:
ci:
name: ci
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
# - name: Setup Scala
# uses: olafurpg/setup-scala@v10
# with:
# java-version: [email protected]
# - name: Cache Scala
# uses: coursier/cache-action@v5
- name: Unit tests
run: make test
- name: Install verilator
run: sudo apt install verilator
- name: Check out lingua-franca repository
uses: actions/checkout@v3
with:
repository: erlingrj/lingua-franca
submodules: true
ref: chisel3
fetch-depth: 0
- name: Check out specific ref of reactor-chisel
uses: actions/checkout@v3
with:
repository: erlingrj/reactor-chisel
path: core/src/main/resources/lib/chisel/reactor-chisel
submodules: recursive
ref: ${{ github.ref }}
- name: Prepare build environment
uses: ./core/src/main/resources/lib/chisel/reactor-chisel/.github/actions/setup-lf-env
- name: Smoke test
run: ./bin/lfc test/Chisel/src/Timer.lf
- name: Run Chisel tests;
run: |
./gradlew core:integrationTest --tests org.lflang.tests.runtime.ChiselTest.run\*
- name: Run Codesign tests;
run: |
./gradlew core:integrationTest --tests org.lflang.tests.runtime.CodesignTest.run\*