Skip to content

Add DS-Kernels release flow #7

Add DS-Kernels release flow

Add DS-Kernels release flow #7

Workflow file for this run

name: build
on:
pull_request:
jobs:
build:
runs-on: [self-hosted, cpu]
container:
image: nvcr.io/nvidia/pytorch:22.12-py3
steps:
- uses: actions/checkout@v3
- name: environment
run: |
which python
python --version
- name: build
run: |
git submodule update --init --recursive
ts=$(date +%s)
DS_KERNELS_BUILD_STRING=".dev${ts}" CUDA_ARCH_LIST="80;86;89;90" python setup.py bdist_wheel
fname=$(ls dist)
nname=$(echo $fname | sed 's/cp[0-9]\+-cp[0-9]\+/py3-none/' | sed 's/linux/manylinux1/')
mv "dist/$fname" "dist/$nname"