File tree Expand file tree Collapse file tree 3 files changed +142
-0
lines changed Expand file tree Collapse file tree 3 files changed +142
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Format: //devtools/kokoro/config/proto/build.proto
2
+
3
+ build_file: " vtr-verilog-to-routing/.github/kokoro/run-vtr.sh"
4
+
5
+ # 72 hours
6
+ timeout_mins: 4320
7
+
8
+ action {
9
+ define_artifacts {
10
+ # File types
11
+ regex: " **/*.out"
12
+ regex: " **/vpr_stdout.log"
13
+ regex: " **/parse_results.txt"
14
+ regex: " **/qor_results.txt"
15
+ regex: " **/pack.log"
16
+ regex: " **/place.log"
17
+ regex: " **/route.log"
18
+ regex: " **/*_qor.csv"
19
+ regex: " **/*.out.gz"
20
+ regex: " **/vpr_stdout.log.gz"
21
+ regex: " **/parse_results.txt.gz"
22
+ regex: " **/qor_results.txt.gz"
23
+ regex: " **/pack.log.gz"
24
+ regex: " **/place.log.gz"
25
+ regex: " **/route.log.gz"
26
+ regex: " **/*_qor.csv.gz"
27
+ strip_prefix: " github/vtr-verilog-to-routing/"
28
+ }
29
+ }
30
+
31
+ env_vars {
32
+ key: " KOKORO_TYPE"
33
+ value: " continuous"
34
+ }
35
+
36
+ env_vars {
37
+ key: " KOKORO_DIR"
38
+ value: " vtr-verilog-to-routing"
39
+ }
40
+
41
+ env_vars {
42
+ key: " VTR_DIR"
43
+ value: " vtr-verilog-to-routing"
44
+ }
45
+
46
+ # Use default build configuration
47
+ env_vars {
48
+ key: " VTR_CMAKE_PARAMS"
49
+ value: " -DODIN_USE_YOSYS=ON"
50
+ }
51
+
52
+ env_vars {
53
+ key: " VTR_TEST"
54
+ value: " vtr_reg_yosys_vpr"
55
+ }
56
+
57
+ # Options for run_reg_test.py
58
+ # -show_failures: show tool failures in main log output
59
+ env_vars {
60
+ key: " VTR_TEST_OPTIONS"
61
+ value: " -show_failures"
62
+ }
63
+
64
+ env_vars {
65
+ key: " NUM_CORES"
66
+ value: " 8"
67
+ }
Original file line number Diff line number Diff line change
1
+ # Format: //devtools/kokoro/config/proto/build.proto
2
+
3
+ build_file: " vtr-verilog-to-routing/.github/kokoro/run-vtr.sh"
4
+
5
+ # 72 hours
6
+ timeout_mins: 4320
7
+
8
+ action {
9
+ define_artifacts {
10
+ # File types
11
+ regex: " **/*.out"
12
+ regex: " **/vpr_stdout.log"
13
+ regex: " **/parse_results.txt"
14
+ regex: " **/qor_results.txt"
15
+ regex: " **/pack.log"
16
+ regex: " **/place.log"
17
+ regex: " **/route.log"
18
+ regex: " **/*_qor.csv"
19
+ regex: " **/*.out.gz"
20
+ regex: " **/vpr_stdout.log.gz"
21
+ regex: " **/parse_results.txt.gz"
22
+ regex: " **/qor_results.txt.gz"
23
+ regex: " **/pack.log.gz"
24
+ regex: " **/place.log.gz"
25
+ regex: " **/route.log.gz"
26
+ regex: " **/*_qor.csv.gz"
27
+ strip_prefix: " github/vtr-verilog-to-routing/"
28
+ }
29
+ }
30
+
31
+ env_vars {
32
+ key: " KOKORO_TYPE"
33
+ value: " presubmit"
34
+ }
35
+
36
+ env_vars {
37
+ key: " KOKORO_DIR"
38
+ value: " vtr-verilog-to-routing"
39
+ }
40
+
41
+ env_vars {
42
+ key: " VTR_DIR"
43
+ value: " vtr-verilog-to-routing"
44
+ }
45
+
46
+ # Use default build configuration
47
+ env_vars {
48
+ key: " VTR_CMAKE_PARAMS"
49
+ value: " -DODIN_USE_YOSYS=ON"
50
+ }
51
+
52
+ env_vars {
53
+ key: " VTR_TEST"
54
+ value: " vtr_reg_yosys_vpr"
55
+ }
56
+
57
+ # Options for run_reg_test.py
58
+ # -show_failures: show tool failures in main log output
59
+ env_vars {
60
+ key: " VTR_TEST_OPTIONS"
61
+ value: " -show_failures"
62
+ }
63
+
64
+ env_vars {
65
+ key: " NUM_CORES"
66
+ value: " 8"
67
+ }
Original file line number Diff line number Diff line change @@ -5,6 +5,14 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
5
5
set -x
6
6
set -e
7
7
8
+ # If the test is not ready yet but the Kokoro machine is up and running
9
+ # provide the config files and exit without running any test, so that kokoro
10
+ # does not fail due to lack of configuration files
11
+ if [ $VTR_TEST == " vtr_reg_yosys_vpr" ]; then
12
+ echo " Skipping test"
13
+ exit 0
14
+ fi
15
+
8
16
# Set up the host
9
17
ls -l
10
18
cd github
You can’t perform that action at this time.
0 commit comments