You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by mo...@apache.org on 2022/12/07 11:04:20 UTC
[tvm] branch main updated: [ci] Add a workflow to update a nightly branch (#13564)
This is an automated email from the ASF dual-hosted git repository.
mousius pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 7065a7fa11 [ci] Add a workflow to update a nightly branch (#13564)
7065a7fa11 is described below
commit 7065a7fa11f2a70347df1b9c359d58c3532fc587
Author: driazati <94...@users.noreply.github.com>
AuthorDate: Wed Dec 7 03:04:13 2022 -0800
[ci] Add a workflow to update a nightly branch (#13564)
This adds a `nightly` branch that is updated once per day with a
specific TVM commit to enable third-parties to synchronize on which TVM
commit to test. A batch of commits is added once per day and tests
should be run on the `HEAD` of that batch.
---
.github/workflows/update_nightly_branch.yml | 44 +++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/.github/workflows/update_nightly_branch.yml b/.github/workflows/update_nightly_branch.yml
new file mode 100644
index 0000000000..2242577bdb
--- /dev/null
+++ b/.github/workflows/update_nightly_branch.yml
@@ -0,0 +1,44 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# Update a branch for nightly test results
+name: Update nightly branch
+
+on:
+ schedule:
+ # 9 PM PST
+ - cron: "0 5 * * *"
+ workflow_dispatch:
+
+concurrency:
+ group: update-nightly-branch
+ cancel-in-progress: true
+
+jobs:
+ update-nightly-branch:
+ if: github.repository == 'driazati/tvm'
+ runs-on: ubuntu-20.04
+ steps:
+ - uses: actions/checkout@v2
+ - name: Update nightly branch
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ set -eux
+ git checkout -B nightly
+ git log -5
+ git push origin --force nightly