From c331639d3a78ba1be20ffa238defc4916ab5d7f8 Mon Sep 17 00:00:00 2001 From: Luis Antonio Obis Aparicio Date: Tue, 28 Nov 2023 23:30:20 -0600 Subject: [PATCH] use base conda env --- .github/workflows/build-test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index f52e991..3ebd4b3 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -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: | @@ -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 @@ -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