Skip to content

Commit 5f782b4

Browse files
committed
ci: merge workflow 'large-tests' into 'test'
Signed-off-by: Unai Martinez-Corral <[email protected]>
1 parent 3ea5e4f commit 5f782b4

File tree

2 files changed

+47
-55
lines changed

2 files changed

+47
-55
lines changed

.github/workflows/large-tests.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,53 @@ env:
1414
jobs:
1515

1616

17+
Run-tests:
18+
container: ubuntu:bionic
19+
20+
runs-on: [self-hosted, Linux, X64]
21+
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
include:
26+
- {test: "vtr_reg_nightly_test1", cores: "8", options: "", cmake: "" }
27+
- {test: "vtr_reg_nightly_test2", cores: "16", options: "", cmake: "" }
28+
- {test: "vtr_reg_nightly_test3", cores: "16", options: "", cmake: "" }
29+
- {test: "vtr_reg_nightly_test4", cores: "16", options: "", cmake: "" }
30+
- {test: "vtr_reg_strong", cores: "16", options: "", cmake: "-DVTR_ASSERT_LEVEL=3" }
31+
- {test: "vtr_reg_strong", cores: "16", options: "-skip_qor", cmake: "-DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=ON"}
32+
- {test: "vtr_reg_yosys", cores: "16", options: "", cmake: "-DWITH_YOSYS=ON" }
33+
- {test: "vtr_reg_yosys_odin", cores: "16", options: "", cmake: "-DODIN_USE_YOSYS=ON" }
34+
- {test: "odin_tech_strong", cores: "16", options: "", cmake: "-DODIN_USE_YOSYS=ON" }
35+
- {test: "odin_reg_strong", cores: "16", options: "", cmake: "" }
36+
37+
env:
38+
DEBIAN_FRONTEND: "noninteractive"
39+
40+
steps:
41+
42+
- uses: actions/checkout@v2
43+
44+
- name: Setup
45+
run: stdbuf -i0 -i0 -e0 ./.github/scripts/hostsetup.sh
46+
47+
- name: Execute test script
48+
run: stdbuf -i0 -o0 -e0 ./.github/scripts/run-vtr.sh
49+
env:
50+
VTR_TEST: ${{ matrix.test }}
51+
VTR_TEST_OPTIONS: ${{ matrix.options }}
52+
VTR_CMAKE_PARAMS: ${{ matrix.cmake }}
53+
NUM_CORES: ${{ matrix.cores }}
54+
55+
- uses: actions/upload-artifact@v2
56+
if: ${{ always() }}
57+
with:
58+
path: |
59+
**/results*.gz
60+
**/plot_*.svg
61+
**/qor_results*.tar.gz
62+
63+
1764
Build:
1865
name: 'B: Building VtR'
1966
runs-on: ubuntu-18.04

0 commit comments

Comments
 (0)