Skip to content

Commit 58f5413

Browse files
authored
Merge pull request #1984 from umarcor/ci/merge
ci: merge workflow 'large-tests' into 'test'
2 parents 08ec56b + a19beae commit 58f5413

File tree

2 files changed

+51
-59
lines changed

2 files changed

+51
-59
lines changed

.github/workflows/large-tests.yml

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

.github/workflows/test.yml

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
pull_request:
66
workflow_dispatch:
77
schedule:
8-
- cron: '0 0 * * 0' # weekly
8+
- cron: '0 0 * * *' # daily
99

1010
env:
1111
# default compiler for all non-compatibility tests
@@ -14,6 +14,56 @@ env:
1414
jobs:
1515

1616

17+
Run-tests:
18+
# Prevents from running on forks where no custom runners are available
19+
if: ${{ github.repository_owner == 'verilog-to-routing' }}
20+
21+
container: ubuntu:bionic
22+
23+
runs-on: [self-hosted, Linux, X64]
24+
25+
strategy:
26+
fail-fast: false
27+
matrix:
28+
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_strong", cores: "16", options: "", cmake: "-DVTR_ASSERT_LEVEL=3" }
34+
- {test: "vtr_reg_strong", cores: "16", options: "-skip_qor", cmake: "-DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=ON"}
35+
- {test: "vtr_reg_yosys", cores: "16", options: "", cmake: "-DWITH_YOSYS=ON" }
36+
- {test: "vtr_reg_yosys_odin", cores: "16", options: "", cmake: "-DODIN_USE_YOSYS=ON" }
37+
- {test: "odin_tech_strong", cores: "16", options: "", cmake: "-DODIN_USE_YOSYS=ON" }
38+
- {test: "odin_reg_strong", cores: "16", options: "", cmake: "" }
39+
40+
env:
41+
DEBIAN_FRONTEND: "noninteractive"
42+
43+
steps:
44+
45+
- uses: actions/checkout@v2
46+
47+
- name: Setup
48+
run: stdbuf -i0 -i0 -e0 ./.github/scripts/hostsetup.sh
49+
50+
- name: Execute test script
51+
run: stdbuf -i0 -o0 -e0 ./.github/scripts/run-vtr.sh
52+
env:
53+
VTR_TEST: ${{ matrix.test }}
54+
VTR_TEST_OPTIONS: ${{ matrix.options }}
55+
VTR_CMAKE_PARAMS: ${{ matrix.cmake }}
56+
NUM_CORES: ${{ matrix.cores }}
57+
58+
- uses: actions/upload-artifact@v2
59+
if: ${{ always() }}
60+
with:
61+
path: |
62+
**/results*.gz
63+
**/plot_*.svg
64+
**/qor_results*.tar.gz
65+
66+
1767
Build:
1868
name: 'B: Building VtR'
1969
runs-on: ubuntu-18.04

0 commit comments

Comments
 (0)