Skip to content

Commit

Permalink
use base conda env
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Nov 29, 2023
1 parent c331d82 commit c331639
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
python-version: ${{ matrix.python-version }}
miniforge-variant: Mambaforge
use-mamba: true
auto-activate-base: true

- name: Install Geant4 via conda
run: |
Expand All @@ -58,7 +59,7 @@ jobs:
cd application
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=${CONDA_PREFIX}
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=$(conda info --base)
cd tests
ctest
Expand All @@ -68,7 +69,7 @@ jobs:
rm -rf build
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=${CONDA_PREFIX}
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(conda info --base)
make
ls ../lib
Expand Down

0 comments on commit c331639

Please sign in to comment.