Skip to content

Commit

Permalink
#20 Set config paths for conda tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kwabenantim committed Nov 3, 2024
1 parent 1470175 commit 2e8484f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test-cells.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e8484f

Please sign in to comment.