1+ name : Run ORFS flow tests
2+
3+ on :
4+ push :
5+ pull_request :
6+ workflow_dispatch :
7+
8+ env :
9+ CI_OS_NAME : linux
10+ CI_COMMIT : ${{ github.sha }}
11+ CCACHE_COMPRESS : 1
12+ CCACHE_DIR : ${{ github.workspace }}/.ccache
13+ CCACHE_LIMIT_MULTIPLE : 0.95
14+ INSTALL_DIR : ${{ github.workspace }}/install
15+ RELOC_DIR : ${{ github.workspace }}/relloc
16+
17+ defaults :
18+ run :
19+ shell : bash
20+
21+ concurrency :
22+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
23+ cancel-in-progress : true
24+
25+ jobs :
26+ orfs-flow-tests-asap7 :
27+ strategy :
28+ fail-fast : false
29+ matrix :
30+ os : [ubuntu-24.04]
31+ runs-on : ${{ matrix.os }}
32+ name : Static power verilator flow | ${{ matrix.os }}
33+ env :
34+ CI_BUILD_STAGE_NAME : build
35+ CI_RUNS_ON : ${{ matrix.os }}
36+ CACHE_BASE_KEY : build-${{ matrix.os }}
37+ steps :
38+ - name : Checkout
39+ uses : actions/checkout@v4
40+
41+ - name : Install dependencies
42+ run : |
43+ sudo apt-get update
44+ sudo apt-get install -y g++-12 gcc clang make flex bison help2man perl python3 \
45+ python3-dev libfl2 libfl-dev zlib1g zlib1g-dev ccache mold libunwind-dev \
46+ libgoogle-perftools-dev numactl tcl tcl-dev swig cmake libeigen3-dev time \
47+ libreadline-dev pipx libboost-all-dev libgtest-dev libspdlog-dev liblemon-dev \
48+ golang-github-intel-tfortools-dev libppix-editortools-perl klayout libelf-dev
49+ pip3 install pyyaml
50+
51+ - name : Build OpenROAD
52+ run : |
53+ git submodule update --init --recursive tools/yosys tools/OpenROAD
54+ sudo ./tools/OpenROAD/etc/DependencyInstaller.sh -common
55+ ./build_openroad.sh -t $(nproc) --local
56+
57+ - name : Install eqy
58+ run : |
59+ git clone --depth=1 -b "v0.54" https://github.com/YosysHQ/eqy
60+ cd eqy
61+ make -j $(nproc)
62+ make install
63+
64+ - name : aes-mbff asap7
65+ run : |
66+ source ./env.sh
67+
68+ ./flow/test/test_helper.sh aes-mbff asap7
69+
70+ - name : uart asap7
71+ run : |
72+ source ./env.sh
73+
74+ ./flow/test/test_helper.sh uart asap7
75+
76+ orfs-flow-tests-gf180 :
77+ strategy :
78+ fail-fast : false
79+ matrix :
80+ os : [ubuntu-24.04]
81+ runs-on : ${{ matrix.os }}
82+ name : Static power verilator flow | ${{ matrix.os }}
83+ env :
84+ CI_BUILD_STAGE_NAME : build
85+ CI_RUNS_ON : ${{ matrix.os }}
86+ CACHE_BASE_KEY : build-${{ matrix.os }}
87+ steps :
88+ - name : Checkout
89+ uses : actions/checkout@v4
90+
91+ - name : Install dependencies
92+ run : |
93+ sudo apt-get update
94+ sudo apt-get install -y g++-12 gcc clang make flex bison help2man perl python3 \
95+ python3-dev libfl2 libfl-dev zlib1g zlib1g-dev ccache mold libunwind-dev \
96+ libgoogle-perftools-dev numactl tcl tcl-dev swig cmake libeigen3-dev time \
97+ libreadline-dev pipx libboost-all-dev libgtest-dev libspdlog-dev liblemon-dev \
98+ golang-github-intel-tfortools-dev libppix-editortools-perl klayout libelf-dev
99+ pip3 install pyyaml
100+
101+ - name : Build OpenROAD
102+ run : |
103+ git submodule update --init --recursive tools/yosys tools/OpenROAD
104+ sudo ./tools/OpenROAD/etc/DependencyInstaller.sh -common
105+ ./build_openroad.sh -t $(nproc) --local
106+
107+ - name : Install eqy
108+ run : |
109+ git clone --depth=1 -b "v0.54" https://github.com/YosysHQ/eqy
110+ cd eqy
111+ make -j $(nproc)
112+ make install
113+
114+ - name : jpeg gf180
115+ run : |
116+ source ./env.sh
117+
118+ ./flow/test/test_helper.sh jpeg gf180
119+
120+ - name : riscv32i gf180
121+ run : |
122+ source ./env.sh
123+
124+ ./flow/test/test_helper.sh riscv32i gf180
125+
126+ orfs-flow-tests-ihp-sg13g2 :
127+ strategy :
128+ fail-fast : false
129+ matrix :
130+ os : [ubuntu-24.04]
131+ runs-on : ${{ matrix.os }}
132+ name : Static power verilator flow | ${{ matrix.os }}
133+ env :
134+ CI_BUILD_STAGE_NAME : build
135+ CI_RUNS_ON : ${{ matrix.os }}
136+ CACHE_BASE_KEY : build-${{ matrix.os }}
137+ steps :
138+ - name : Checkout
139+ uses : actions/checkout@v4
140+
141+ - name : Install dependencies
142+ run : |
143+ sudo apt-get update
144+ sudo apt-get install -y g++-12 gcc clang make flex bison help2man perl python3 \
145+ python3-dev libfl2 libfl-dev zlib1g zlib1g-dev ccache mold libunwind-dev \
146+ libgoogle-perftools-dev numactl tcl tcl-dev swig cmake libeigen3-dev time \
147+ libreadline-dev pipx libboost-all-dev libgtest-dev libspdlog-dev liblemon-dev \
148+ golang-github-intel-tfortools-dev libppix-editortools-perl klayout libelf-dev
149+ pip3 install pyyaml
150+
151+ - name : Build OpenROAD
152+ run : |
153+ git submodule update --init --recursive tools/yosys tools/OpenROAD
154+ sudo ./tools/OpenROAD/etc/DependencyInstaller.sh -common
155+ ./build_openroad.sh -t $(nproc) --local
156+
157+ - name : Install eqy
158+ run : |
159+ git clone --depth=1 -b "v0.54" https://github.com/YosysHQ/eqy
160+ cd eqy
161+ make -j $(nproc)
162+ make install
163+
164+ - name : gcd ihp-sg13g2
165+ run : |
166+ source ./env.sh
167+
168+ ./flow/test/test_helper.sh gcd ihp-sg13g2
169+
170+ - name : riscv32i ihp-sg13g2
171+ run : |
172+ source ./env.sh
173+
174+ ./flow/test/test_helper.sh riscv32i ihp-sg13g2
175+
176+ orfs-flow-tests-sky130hd :
177+ strategy :
178+ fail-fast : false
179+ matrix :
180+ os : [ubuntu-24.04]
181+ runs-on : ${{ matrix.os }}
182+ name : Static power verilator flow | ${{ matrix.os }}
183+ env :
184+ CI_BUILD_STAGE_NAME : build
185+ CI_RUNS_ON : ${{ matrix.os }}
186+ CACHE_BASE_KEY : build-${{ matrix.os }}
187+ steps :
188+ - name : Checkout
189+ uses : actions/checkout@v4
190+
191+ - name : Install dependencies
192+ run : |
193+ sudo apt-get update
194+ sudo apt-get install -y g++-12 gcc clang make flex bison help2man perl python3 \
195+ python3-dev libfl2 libfl-dev zlib1g zlib1g-dev ccache mold libunwind-dev \
196+ libgoogle-perftools-dev numactl tcl tcl-dev swig cmake libeigen3-dev time \
197+ libreadline-dev pipx libboost-all-dev libgtest-dev libspdlog-dev liblemon-dev \
198+ golang-github-intel-tfortools-dev libppix-editortools-perl klayout libelf-dev
199+ pip3 install pyyaml
200+
201+ - name : Build OpenROAD
202+ run : |
203+ git submodule update --init --recursive tools/yosys tools/OpenROAD
204+ sudo ./tools/OpenROAD/etc/DependencyInstaller.sh -common
205+ ./build_openroad.sh -t $(nproc) --local
206+
207+ - name : Install eqy
208+ run : |
209+ git clone --depth=1 -b "v0.54" https://github.com/YosysHQ/eqy
210+ cd eqy
211+ make -j $(nproc)
212+ make install
213+
214+ - name : gcd sky130hd
215+ run : |
216+ source ./env.sh
217+
218+ ./flow/test/test_helper.sh gcd sky130hd
219+
220+ - name : riscv32i sky130hd
221+ run : |
222+ source ./env.sh
223+
224+ ./flow/test/test_helper.sh riscv32i sky130hd
225+
226+ orfs-flow-tests-sky130hs :
227+ strategy :
228+ fail-fast : false
229+ matrix :
230+ os : [ubuntu-24.04]
231+ runs-on : ${{ matrix.os }}
232+ name : Static power verilator flow | ${{ matrix.os }}
233+ env :
234+ CI_BUILD_STAGE_NAME : build
235+ CI_RUNS_ON : ${{ matrix.os }}
236+ CACHE_BASE_KEY : build-${{ matrix.os }}
237+ steps :
238+ - name : Checkout
239+ uses : actions/checkout@v4
240+
241+ - name : Install dependencies
242+ run : |
243+ sudo apt-get update
244+ sudo apt-get install -y g++-12 gcc clang make flex bison help2man perl python3 \
245+ python3-dev libfl2 libfl-dev zlib1g zlib1g-dev ccache mold libunwind-dev \
246+ libgoogle-perftools-dev numactl tcl tcl-dev swig cmake libeigen3-dev time \
247+ libreadline-dev pipx libboost-all-dev libgtest-dev libspdlog-dev liblemon-dev \
248+ golang-github-intel-tfortools-dev libppix-editortools-perl klayout libelf-dev
249+ pip3 install pyyaml
250+
251+ - name : Install eqy
252+ run : |
253+ git clone --depth=1 -b "v0.54" https://github.com/YosysHQ/eqy
254+ cd eqy
255+ make -j $(nproc)
256+ make install
257+
258+ - name : Build OpenROAD
259+ run : |
260+ git submodule update --init --recursive tools/yosys tools/OpenROAD
261+ sudo ./tools/OpenROAD/etc/DependencyInstaller.sh -common
262+ ./build_openroad.sh -t $(nproc) --local
263+
264+ - name : jpeg sky130hs
265+ run : |
266+ source ./env.sh
267+
268+ ./flow/test/test_helper.sh jpeg sky130hs
269+
270+ - name : riscv32i sky130hs
271+ run : |
272+ source ./env.sh
273+
274+ ./flow/test/test_helper.sh riscv32i sky130hs
0 commit comments