Commit ecc4df35 authored by rusty1s's avatar rusty1s
Browse files

[skip ci] build conda

parent c47e71b6
...@@ -52,7 +52,7 @@ jobs: ...@@ -52,7 +52,7 @@ jobs:
- name: Build Conda package for CPU - name: Build Conda package for CPU
if: ${{ matrix.cuda-version == 'cpu' }} if: ${{ matrix.cuda-version == 'cpu' }}
run: | run: |
FORCE_CUDA=0 ./conda/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }} FORCE_CUDA=0 ./conda/pytorch-spline-conv/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
shell: shell:
bash -l {0} bash -l {0}
...@@ -60,14 +60,14 @@ jobs: ...@@ -60,14 +60,14 @@ 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/build_conda.sh ${{ matrix.python-version }} ${{ matrix.torch-version }} ${{ matrix.cuda-version }} FORCE_CUDA=1 ./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
run: | run: |
conda install anaconda-client --yes conda install anaconda-client --yes
anaconda upload --force --label main ./conda/*/*.tar.bz2 anaconda upload --force --label main $HOME/conda-bld/*/*.tar.bz2
env: env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }} ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
shell: shell:
......
...@@ -30,4 +30,4 @@ echo "PyTorch $TORCH_VERSION+$CUDA_VERSION" ...@@ -30,4 +30,4 @@ echo "PyTorch $TORCH_VERSION+$CUDA_VERSION"
echo "- $CONDA_PYTORCH_CONSTRAINT" echo "- $CONDA_PYTORCH_CONSTRAINT"
echo "- $CONDA_CUDATOOLKIT_CONSTRAINT" echo "- $CONDA_CUDATOOLKIT_CONSTRAINT"
conda build . -c defaults -c nvidia -c pytorch --output-folder . conda build . -c defaults -c nvidia -c pytorch --output-folder "$HOME/conda-bld"
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