|
45 | 45 |
|
46 | 46 | // NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. -->
|
47 | 47 | ci_lint = "tlcpack/ci-lint:v0.62"
|
48 |
| -ci_gpu = "tlcpack/ci-gpu:v0.64" |
49 |
| -ci_cpu = "tlcpack/ci-cpu:v0.66" |
| 48 | +ci_gpu = "tlcpack/ci-gpu:v0.65" |
| 49 | +ci_cpu = "tlcpack/ci-cpu:v0.67" |
50 | 50 | ci_wasm = "tlcpack/ci-wasm:v0.60"
|
51 | 51 | ci_i386 = "tlcpack/ci-i386:v0.52"
|
| 52 | +ci_qemu = "tlcpack/ci-qemu:v0.01" |
52 | 53 | // <--- End of regex-scanned config.
|
53 | 54 |
|
54 | 55 | // tvm libraries
|
@@ -93,8 +94,8 @@ def init_git_win() {
|
93 | 94 | }
|
94 | 95 |
|
95 | 96 | def cancel_previous_build() {
|
96 |
| - // cancel previous build if it is not on master. |
97 |
| - if (env.BRANCH_NAME != "master") { |
| 97 | + // cancel previous build if it is not on main. |
| 98 | + if (env.BRANCH_NAME != "main") { |
98 | 99 | def buildNumber = env.BUILD_NUMBER as int
|
99 | 100 | // Milestone API allows us to cancel previous build
|
100 | 101 | // with the same milestone number
|
@@ -210,6 +211,18 @@ stage('Build') {
|
210 | 211 | pack_lib('i386', tvm_multilib)
|
211 | 212 | }
|
212 | 213 | }
|
| 214 | + }, |
| 215 | + 'BUILD: QEMU': { |
| 216 | + node('CPU') { |
| 217 | + ws(per_exec_ws("tvm/build-qemu")) { |
| 218 | + init_git() |
| 219 | + sh "${docker_run} ${ci_qemu} ./tests/scripts/task_config_build_qemu.sh" |
| 220 | + make(ci_qemu, 'build', '-j2') |
| 221 | + timeout(time: max_time, unit: 'MINUTES') { |
| 222 | + sh "${docker_run} ${ci_qemu} ./tests/scripts/task_python_microtvm.sh" |
| 223 | + } |
| 224 | + } |
| 225 | + } |
213 | 226 | }
|
214 | 227 | }
|
215 | 228 |
|
@@ -315,14 +328,14 @@ stage('Build packages') {
|
315 | 328 | }
|
316 | 329 | }
|
317 | 330 | // Here we could upload the packages to anaconda for releases
|
318 |
| - // and/or the master branch |
| 331 | + // and/or the main branch |
319 | 332 | }
|
320 | 333 | */
|
321 | 334 |
|
322 | 335 | stage('Deploy') {
|
323 | 336 | node('doc') {
|
324 | 337 | ws(per_exec_ws("tvm/deploy-docs")) {
|
325 |
| - if (env.BRANCH_NAME == "master") { |
| 338 | + if (env.BRANCH_NAME == "main") { |
326 | 339 | unpack_lib('mydocs', 'docs.tgz')
|
327 | 340 | sh "cp docs.tgz /var/docs/docs.tgz"
|
328 | 341 | sh "tar xf docs.tgz -C /var/docs"
|
|
0 commit comments