Commit 40196a97 authored by rusty1s's avatar rusty1s
Browse files

[skip ci] build conda

parent 7a3ba424
......@@ -35,7 +35,7 @@ jobs:
- name: Install Conda packages
run: |
conda install conda-build conda-verify anaconda-client
conda install conda-build conda-verify anaconda-client --yes
- name: Install CUDA ${{ matrix.cuda-version }}
if: ${{ matrix.cuda-version != 'cpu' }}
......@@ -45,7 +45,7 @@ jobs:
- name: Build Conda package for CPU
if: ${{ matrix.cuda-version == 'cpu' }}
run: |
FORCE_ONLY_CPU=1 source ./conda/pytorch-spline-conv/build_conda.sh ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
FORCE_ONLY_CPU=1 ./conda/pytorch-spline-conv/build_conda.sh ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
shell:
bash
......@@ -53,10 +53,10 @@ jobs:
if: ${{ matrix.cuda-version != 'cpu' }}
run: |
source .github/workflows/cuda/${{ matrix.cuda-version }}-${{ runner.os }}-env.sh
FORCE_CUDA=1 source ./conda/pytorch-spline-conv/build_conda.sh ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
FORCE_CUDA=1 ./conda/pytorch-spline-conv/build_conda.sh ${{ matrix.torch-version }} ${{ matrix.cuda-version }}
shell:
bash
# - name: Publish Conda package
# run: |
# anaconda upload /usr/share/miniconda/conda-bld/*/*.tar.bz2 --token ${{ secrets.ANACONDA_TOKEN }}
# anaconda upload -t ${{ secrets.ANACONDA_TOKEN }} $HOME/conda-bld/*/*.tar.bz2 --token ${{ secrets.ANACONDA_TOKEN }}
......@@ -29,4 +29,4 @@ echo "PyTorch $TORCH_VERSION+$CUDA_VERSION"
echo "- $CONDA_PYTORCH_CONSTRAINT"
echo "- $CONDA_CUDATOOLKIT_CONSTRAINT"
conda build . -c defaults -c nvidia -c pytorch --output-folder ../../pkg/ --output
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