You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2021/04/29 15:53:28 UTC
[tvm] branch v0.7 updated: [CI] v0.7 CI updates (#7947)
This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch v0.7
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/v0.7 by this push:
new 701d2c3 [CI] v0.7 CI updates (#7947)
701d2c3 is described below
commit 701d2c32759c95951c4eeca229addd1036539698
Author: Tianqi Chen <tq...@users.noreply.github.com>
AuthorDate: Thu Apr 29 11:53:07 2021 -0400
[CI] v0.7 CI updates (#7947)
---
Jenkinsfile | 7 +++----
tests/lint/clang_format.sh | 2 --
tests/lint/python_format.sh | 1 -
3 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 9e3b0f5..b443cd8 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -94,7 +94,7 @@ def init_git_win() {
def cancel_previous_build() {
// cancel previous build if it is not on master.
- if (env.BRANCH_NAME != "master") {
+ if (env.BRANCH_NAME != "main") {
def buildNumber = env.BUILD_NUMBER as int
// Milestone API allows us to cancel previous build
// with the same milestone number
@@ -322,10 +322,9 @@ stage('Build packages') {
stage('Deploy') {
node('doc') {
ws(per_exec_ws("tvm/deploy-docs")) {
- if (env.BRANCH_NAME == "master") {
+ if (env.BRANCH_NAME == "v0.7") {
unpack_lib('mydocs', 'docs.tgz')
- sh "cp docs.tgz /var/docs/docs.tgz"
- sh "tar xf docs.tgz -C /var/docs"
+ sh "cp docs.tgz /var/docs/docs.v0.7.tgz"
}
}
}
diff --git a/tests/lint/clang_format.sh b/tests/lint/clang_format.sh
index de6711b..bc09d3e 100755
--- a/tests/lint/clang_format.sh
+++ b/tests/lint/clang_format.sh
@@ -19,5 +19,3 @@
# check lastest change, for squash merge into master
./tests/lint/git-clang-format.sh HEAD~1
-# chekc against origin/master for PRs.
-./tests/lint/git-clang-format.sh origin/master
diff --git a/tests/lint/python_format.sh b/tests/lint/python_format.sh
index 752abfd..1568f73 100755
--- a/tests/lint/python_format.sh
+++ b/tests/lint/python_format.sh
@@ -18,4 +18,3 @@
./tests/lint/git-black.sh HEAD~1
-./tests/lint/git-black.sh origin/master