|
10 | 10 | strategy: |
11 | 11 | fail-fast: false |
12 | 12 | matrix: |
13 | | - os: [ubuntu-16.04, macos-10.15, windows-latest] |
| 13 | + os: [ubuntu-18.04, macos-10.15, windows-latest] |
14 | 14 | python-version: [3.6, 3.7, 3.8, 3.9] |
15 | 15 | torch-version: [1.8.0, 1.9.0] |
16 | 16 | cuda-version: ['cpu', 'cu101', 'cu102', 'cu111'] |
@@ -66,23 +66,32 @@ jobs: |
66 | 66 | - name: Build Conda package for CPU |
67 | 67 | if: ${{ matrix.cuda-version == 'cpu' }} |
68 | 68 | run: | |
69 | | - FORCE_CUDA=0 ./conda/pytorch-sparse/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }} |
| 69 | + FORCE_CUDA=0 TORCH_CUDA_ARCH_LIST=0 ./conda/pytorch-sparse/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }} |
70 | 70 | shell: |
71 | 71 | bash -l {0} |
72 | 72 |
|
73 | 73 | - name: Build Conda package for GPU |
74 | 74 | if: ${{ matrix.cuda-version != 'cpu' }} |
75 | 75 | run: | |
76 | 76 | source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh |
77 | | - FORCE_CUDA=1 ./conda/pytorch-sparse/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }} |
| 77 | + ./conda/pytorch-sparse/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }} |
78 | 78 | shell: |
79 | 79 | bash -l {0} |
80 | 80 |
|
81 | | - - name: Publish Conda package |
| 81 | + - name: Publish Conda package on organization channel |
82 | 82 | run: | |
83 | 83 | conda install anaconda-client --yes |
84 | 84 | anaconda upload --force --label main $HOME/conda-bld/*/*.tar.bz2 |
85 | 85 | env: |
86 | | - ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }} |
| 86 | + ANACONDA_API_TOKEN: ${{ secrets.PYG_ANACONDA_TOKEN }} |
| 87 | + shell: |
| 88 | + bash -l {0} |
| 89 | + |
| 90 | + - name: Publish Conda package on personal channel |
| 91 | + run: | |
| 92 | + conda install anaconda-client --yes |
| 93 | + anaconda upload --force --label main $HOME/conda-bld/*/*.tar.bz2 |
| 94 | + env: |
| 95 | + ANACONDA_API_TOKEN: ${{ secrets.RUSTY1S_ANACONDA_TOKEN }} |
87 | 96 | shell: |
88 | 97 | bash -l {0} |
0 commit comments