-
Notifications
You must be signed in to change notification settings - Fork 78
58 lines (49 loc) · 1.44 KB
/
ci.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
name: ci
on:
push:
pull_request:
schedule:
- cron: '30 0 * * *'
jobs:
build_oss:
runs-on: ubuntu-latest
steps:
- name: Checkout SBY
uses: actions/checkout@v4
- name: Install oss-cad-suite
uses: YosysHQ/setup-oss-cad-suite@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run SBY tests
run: pip install xmlschema && make ci
build_verific:
runs-on: [self-hosted, linux, x64, fast]
steps:
- name: Checkout SBY
uses: actions/checkout@v4
- name: Checkout Yosys
uses: actions/checkout@v4
with:
repository: 'YosysHQ/yosys'
path: 'yosys'
submodules: true
- name: Runtime environment
run: |
echo "procs=$(nproc)" >> $GITHUB_ENV
- name: Build Yosys
run: |
cd yosys
make config-clang
echo "ENABLE_VERIFIC := 1" >> Makefile.conf
echo "ENABLE_VERIFIC_EDIF := 1" >> Makefile.conf
echo "ENABLE_VERIFIC_LIBERTY := 1" >> Makefile.conf
echo "ENABLE_VERIFIC_YOSYSHQ_EXTENSIONS := 1" >> Makefile.conf
echo "ENABLE_CCACHE := 1" >> Makefile.conf
make -j${{ env.procs }}
make install DESTDIR=${GITHUB_WORKSPACE}/.local PREFIX=
- name: Build SBY
run: |
make install DESTDIR=${GITHUB_WORKSPACE}/.local PREFIX=
- name: Run SBY tests
run: |
make run_ci