Commit 18875abb authored by rusty1s's avatar rusty1s
Browse files

[ci skip] building conda

parent 51160fdc
...@@ -10,7 +10,7 @@ jobs: ...@@ -10,7 +10,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-16.04, macos-10.15, windows-latest] os: [ubuntu-16.04, macos-10.15] #, windows-latest]
python-version: [3.6, 3.7, 3.8, 3.9] python-version: [3.6, 3.7, 3.8, 3.9]
torch-version: [1.8.0, 1.9.0] torch-version: [1.8.0, 1.9.0]
cuda-version: ['cpu', 'cu101', 'cu102', 'cu111'] cuda-version: ['cpu', 'cu101', 'cu102', 'cu111']
...@@ -57,15 +57,24 @@ jobs: ...@@ -57,15 +57,24 @@ jobs:
if: ${{ matrix.cuda-version != 'cpu' }} if: ${{ matrix.cuda-version != 'cpu' }}
run: | run: |
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
FORCE_CUDA=1 ./conda/pytorch-spline-conv/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }} ./conda/pytorch-spline-conv/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
shell: shell:
bash -l {0} bash -l {0}
- name: Publish Conda package - name: Publish Conda package on organization channel
run: | run: |
conda install anaconda-client --yes conda install anaconda-client --yes
anaconda upload --force --label main $HOME/conda-bld/*/*.tar.bz2 anaconda upload --force --label main $HOME/conda-bld/*/*.tar.bz2
env: env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }} ANACONDA_API_TOKEN: ${{ secrets.PYG_ANACONDA_TOKEN }}
shell:
bash -l {0}
- name: Publish Conda package on personal channel
run: |
conda install anaconda-client --yes
anaconda upload --force --label main $HOME/conda-bld/*/*.tar.bz2
env:
ANACONDA_API_TOKEN: ${{ secrets.RUSTY1S_ANACONDA_TOKEN }}
shell: shell:
bash -l {0} bash -l {0}
...@@ -25,7 +25,7 @@ build: ...@@ -25,7 +25,7 @@ build:
script: pip install . script: pip install .
script_env: script_env:
- FORCE_CUDA - FORCE_CUDA
- TORCH_CUDA_ARCH_LIST="5.2 6.0 6.1 7.0 7.5 8.0 8.6+PTX" - TORCH_CUDA_ARCH_LIST
test: test:
imports: imports:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment