forked from OSCPU/NutShell
-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (36 loc) · 1.14 KB
/
formal.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
name: Formal Btormc
on: [push, pull_request]
jobs:
ci:
name: ci
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cleanup
run: sed -i "s/%NAME%/test/g" build.sc
- name: Setup Scala
uses: olafurpg/setup-scala@v10
with:
java-version: [email protected]
- name: Submodule
run: git submodule update --init
- name: Setup BtorMC
uses: SeddonShen/[email protected]
- name: Setup Mill
uses: jodersky/[email protected]
with:
mill-version: 0.11.5
- name: Cache Scala
uses: coursier/cache-action@v5
- name: mill Test
run: mill chiselModule.test
# - name: Single BtorMC Run 15 Steps
# if: always()
# run: btormc ./test_run_dir/NutCoreFormal_should_pass/NutCore.btor -kmax 15 --trace-gen-full --btor-stats > ./test_run_dir/NutCoreFormal_should_pass/15step.txt
- name: Archive production artifacts
if: always()
uses: actions/upload-artifact@v3
with:
name: Btormc Output Files
path: test_run_dir/NutCoreFormal_should_pass