Wheel-Manylinux-Nightly #1312
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GH actions. | |
name: Wheel-Manylinux-Nightly | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: '0 6 * * *' # 6 AM UTC | |
jobs: | |
Build: | |
strategy: | |
matrix: | |
pkg: ['tlcpack-nightly'] | |
# matrix of build configs | |
config: | |
- cuda: 'none' | |
image: 'tlcpack/package-cpu:2fddbe0' | |
- cuda: '10.2' | |
image: 'tlcpack/package-cu102:2fddbe0' | |
# CUDA 11.0 is not supported for Conda build, | |
# Let's drop support here as well. | |
# - cuda: '11.0' | |
# image: 'tlcpack/package-cu110:2fddbe0' | |
- cuda: '11.1' | |
image: 'tlcpack/package-cu111:2fddbe0' | |
- cuda: '11.3' | |
image: 'tlcpack/package-cu113:2fddbe0' | |
- cuda: '11.6' | |
image: 'tlcpack/package-cu116:2fddbe0' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: TVM checkout | |
run: | | |
git clone https://github.com/apache/tvm tvm --recursive | |
- name: Sync Package | |
run: python common/sync_package.py --cuda ${{ matrix.config.cuda }} ${{ matrix.pkg }} | |
- name: Build | |
env: | |
IMAGE: ${{ matrix.config.image }} | |
CUDA: ${{ matrix.config.cuda }} | |
run: | | |
docker/bash.sh --no-gpu $IMAGE ./wheel/build_wheel_manylinux.sh --cuda $CUDA | |
- name: Test | |
if: matrix.config.cuda == 'none' | |
env: | |
IMAGE: ${{ matrix.config.image }} | |
WHEEL_TEST: "True" | |
continue-on-error: true | |
run: | | |
docker/bash.sh --no-gpu $IMAGE ./wheel/run_tests.sh | |
- name: Wheel-Deploy | |
if: github.ref == 'refs/heads/main' | |
uses: softprops/action-gh-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.TLCPACK_GITHUB_TOKEN }} | |
with: | |
files: tvm/python/repaired_wheels/*.whl | |
tag_name: v0.12.dev | |
prerelease: true | |