Skip to content

Commit 12dfcc5

Browse files
authored
ci: Add ARM AOT test (#1418)
1 parent 54e9feb commit 12dfcc5

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

Jenkinsfile

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ stage('Unittest') {
133133
cancel_previous_build()
134134
parallel(
135135
failFast: true,
136-
'AOT-Build-Import': {
136+
'AOT-Build-Import-x86-64': {
137137
try {
138138
run_unittest_CPU_AOT_COMPILE('CPU-LARGE-SPOT')
139139
} catch (Throwable ex) {
@@ -151,6 +151,24 @@ stage('Unittest') {
151151
}
152152
}
153153
},
154+
'AOT-Build-Import-aarch64': {
155+
try {
156+
run_unittest_CPU_AOT_COMPILE('ARM-LARGE-SPOT')
157+
} catch (Throwable ex) {
158+
echo 'Exception during SPOT run ' + ex.toString()
159+
if (is_last_build()) {
160+
// retry if we are currently at last build
161+
// mark the current stage as success
162+
// and try again via on demand node
163+
echo 'Exception during SPOT run ' + ex.toString() + ' retry on-demand'
164+
currentBuild.result = 'SUCCESS'
165+
run_unittest_CPU_AOT_COMPILE('ARM-LARGE')
166+
} else {
167+
echo 'Exit since it is not last build'
168+
throw ex
169+
}
170+
}
171+
},
154172
'JIT-Unittest-1': {
155173
try {
156174
shard_run_unittest_GPU('GPU-G5-SPOT', 1)

0 commit comments

Comments
 (0)