Skip to content

Commit

Permalink
is prod Jenkins too old to set CI=???
Browse files Browse the repository at this point in the history
  • Loading branch information
areusch committed Aug 12, 2021
1 parent 8f1d4cd commit d4b95b1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ def cancel_previous_build() {
cancel_previous_build()

stage("Sanity Check") {
environment {
CI = 'true'
}
timeout(time: max_time, unit: 'MINUTES') {
node('CPU') {
ws(per_exec_ws("tvm/sanity")) {
Expand Down Expand Up @@ -160,6 +163,9 @@ def unpack_lib(name, libs) {
}

stage('Build') {
environment {
CI = 'true'
}
parallel 'BUILD: GPU': {
node('GPUBUILD') {
ws(per_exec_ws("tvm/build-gpu")) {
Expand Down Expand Up @@ -244,6 +250,9 @@ stage('Build') {
}

stage('Unit Test') {
environment {
CI = 'true'
}
parallel 'python3: GPU': {
node('TensorCore') {
ws(per_exec_ws("tvm/ut-python-gpu")) {
Expand Down Expand Up @@ -303,6 +312,9 @@ stage('Unit Test') {
}

stage('Integration Test') {
environment {
CI = 'true'
}
parallel 'topi: GPU': {
node('GPU') {
ws(per_exec_ws("tvm/topi-python-gpu")) {
Expand Down Expand Up @@ -359,6 +371,9 @@ stage('Integration Test') {

/*
stage('Build packages') {
environment {
CI = 'true'
}
parallel 'conda CPU': {
node('CPU') {
sh "${docker_run} tlcpack/conda-cpu ./conda/build_cpu.sh
Expand All @@ -376,6 +391,9 @@ stage('Build packages') {
*/

stage('Deploy') {
environment {
CI = 'true'
}
node('doc') {
ws(per_exec_ws("tvm/deploy-docs")) {
if (env.BRANCH_NAME == "main") {
Expand Down

0 comments on commit d4b95b1

Please sign in to comment.