From 2e8484fe24ef666c748e4f7565fad80ef338ce95 Mon Sep 17 00:00:00 2001 From: Kwabena N Amponsah Date: Sun, 3 Nov 2024 23:18:52 +0000 Subject: [PATCH] #20 Set config paths for conda tests --- .github/workflows/test-cells.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-cells.yml b/.github/workflows/test-cells.yml index 662f2ae..6914926 100644 --- a/.github/workflows/test-cells.yml +++ b/.github/workflows/test-cells.yml @@ -53,12 +53,15 @@ jobs: mamba install --yes --file requirements.txt working-directory: examples/cells + - name: Set config paths + run: | + echo "CMAKE_PREFIX_PATH=$CONDA_PREFIX;$CMAKE_PREFIX_PATH" >> $GITHUB_ENV + echo "PETSC_DIR=$CONDA_PREFIX" >> $GITHUB_ENV + echo "PETSC_ARCH=" >> $GITHUB_ENV + echo "VTK_DIR=$CONDA_PREFIX" >> $GITHUB_ENV + - name: Configure run: | - export CMAKE_PREFIX_PATH="$CONDA_PREFIX;$CMAKE_PREFIX_PATH" - export PETSC_DIR=$CONDA_PREFIX - export PETSC_ARCH= - export VTK_DIR=$CONDA_PREFIX mkdir build && cd build cmake .. working-directory: examples/cells