Skip to content

Commit 9492a71

Browse files
authored
Merge pull request #2183 from verilog-to-routing/get_external_packages
Changed the GitHub automated test to install external libraries for analytical placement
2 parents e7702a2 + 63dc3b7 commit 9492a71

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

.github/workflows/test.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ jobs:
2626
fail-fast: false
2727
matrix:
2828
include:
29-
- {test: "vtr_reg_nightly_test1", cores: "8", options: "", cmake: "" }
30-
- {test: "vtr_reg_nightly_test2", cores: "16", options: "", cmake: "" }
31-
- {test: "vtr_reg_nightly_test3", cores: "16", options: "", cmake: "" }
32-
- {test: "vtr_reg_nightly_test4", cores: "16", options: "", cmake: "" }
33-
- {test: "vtr_reg_nightly_test5", cores: "16", options: "", cmake: "" }
34-
- {test: "vtr_reg_strong", cores: "16", options: "", cmake: "-DVTR_ASSERT_LEVEL=3" }
35-
- {test: "vtr_reg_strong", cores: "16", options: "-skip_qor", cmake: "-DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=ON"}
36-
- {test: "vtr_reg_yosys", cores: "16", options: "", cmake: "-DWITH_YOSYS=ON -DYOSYS_SV_UHDM_PLUGIN=ON" }
37-
- {test: "vtr_reg_yosys_odin", cores: "16", options: "", cmake: "-DODIN_USE_YOSYS=ON -DYOSYS_SV_UHDM_PLUGIN=ON"}
38-
- {test: "odin_tech_strong", cores: "16", options: "", cmake: "-DODIN_USE_YOSYS=ON" }
39-
- {test: "odin_reg_strong", cores: "16", options: "", cmake: "" }
29+
- {test: "vtr_reg_nightly_test1", cores: "8", options: "", cmake: "", extra_pkgs: ""}
30+
- {test: "vtr_reg_nightly_test2", cores: "16", options: "", cmake: "", extra_pkgs: ""}
31+
- {test: "vtr_reg_nightly_test3", cores: "16", options: "", cmake: "", extra_pkgs: ""}
32+
- {test: "vtr_reg_nightly_test4", cores: "16", options: "", cmake: "", extra_pkgs: ""}
33+
- {test: "vtr_reg_nightly_test5", cores: "16", options: "", cmake: "", extra_pkgs: ""}
34+
- {test: "vtr_reg_strong", cores: "16", options: "", cmake: "-DVTR_ASSERT_LEVEL=3", extra_pkgs: "libeigen3-dev"}
35+
- {test: "vtr_reg_strong", cores: "16", options: "-skip_qor", cmake: "-DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=ON", extra_pkgs: "libeigen3-dev"}
36+
- {test: "vtr_reg_yosys", cores: "16", options: "", cmake: "-DWITH_YOSYS=ON -DYOSYS_SV_UHDM_PLUGIN=ON", extra_pkgs: ""}
37+
- {test: "vtr_reg_yosys_odin", cores: "16", options: "", cmake: "-DODIN_USE_YOSYS=ON -DYOSYS_SV_UHDM_PLUGIN=ON", extra_pkgs: ""}
38+
- {test: "odin_tech_strong", cores: "16", options: "", cmake: "-DODIN_USE_YOSYS=ON", extra_pkgs: ""}
39+
- {test: "odin_reg_strong", cores: "16", options: "", cmake: "", extra_pkgs: ""}
4040

4141
env:
4242
DEBIAN_FRONTEND: "noninteractive"
@@ -48,6 +48,10 @@ jobs:
4848
- name: Setup
4949
run: stdbuf -i0 -i0 -e0 ./.github/scripts/hostsetup.sh
5050

51+
- name: Install external libraries
52+
run: apt install -y ${{ matrix.extra_pkgs }}
53+
if: ${{ matrix.extra_pkgs }}
54+
5155
- name: Execute test script
5256
run: stdbuf -i0 -o0 -e0 ./.github/scripts/run-vtr.sh
5357
env:

0 commit comments

Comments
 (0)