Skip to content

Commit

Permalink
Update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulPPelaez committed Nov 17, 2023
1 parent d7075e8 commit 262dfd6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci-cuda12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,21 @@ jobs:
env:
# Needed to install pytorch-gpu on a machine without a GPU
CONDA_OVERRIDE_CUDA: ${{ matrix.cuda }}

- name: List conda environment
run: |
conda activate nnpops
conda list
- name: Configure, compile, and install
# CUDA_INC_PATH is required because of a bug in the torch CMake files
run: |
conda activate nnpops
mkdir build && cd build
cmake .. \
-DENABLE_CUDA=${{ matrix.enable_cuda }} \
-DTorch_DIR=$(python -c 'import torch.utils; print(torch.utils.cmake_prefix_path)')/Torch \
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
-DCUDA_INC_PATH=$CONDA_PREFIX/targets/x86_64-linux/include
make install
- name: Test
Expand Down

0 comments on commit 262dfd6

Please sign in to comment.