File tree Expand file tree Collapse file tree 2 files changed +31
-55
lines changed Expand file tree Collapse file tree 2 files changed +31
-55
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -136,6 +136,37 @@ def getParallelTests(String image) {
136
136
}
137
137
},
138
138
139
+ ' Build with Bazel' : {
140
+ node {
141
+ withDockerContainer(args : ' -u root -v /var/run/docker.sock:/var/run/docker.sock' , image : image) {
142
+ stage(' Setup Bazel Build' ) {
143
+ echo " Build with Bazel" ;
144
+ sh label : ' Configure git' , script : " git config --system --add safe.directory '*'" ;
145
+ checkout scm;
146
+ }
147
+ stage(' Bazel Build' ) {
148
+ timeout(time : 120 , unit : ' MINUTES' ) {
149
+ sh label : ' Bazel Build' , script : '''
150
+ bazel test \
151
+ -c opt \
152
+ --keep_going \
153
+ --show_timestamps \
154
+ --test_output=errors \
155
+ --curses=no \
156
+ --force_pic \
157
+ ...
158
+ ''' ;
159
+ }
160
+ }
161
+ stage(' Bazel smoke test' ) {
162
+ timeout(time : 5 , unit : ' MINUTES' ) {
163
+ sh label : ' Bazel Smoke Test' , script : ' bazel-bin/openroad -help' ;
164
+ }
165
+ }
166
+ }
167
+ }
168
+ },
169
+
139
170
' Check message IDs' : {
140
171
dir(' src' ) {
141
172
sh label : ' Find duplicated message IDs' , script : ' ../etc/find_messages.py > messages.txt' ;
You can’t perform that action at this time.
0 commit comments