Skip to content

Commit

Permalink
Attempt a different syntax, and try to brute force this. I'm pretty s…
Browse files Browse the repository at this point in the history
…ure the issue is CONDA_PREFIX/Library/lib not being in the path when ctest is invoked.
  • Loading branch information
WardF committed Apr 10, 2024
1 parent d37d6bf commit 53cdf4e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: echo '${{ toJSON(matrix) }}'

- run: echo "CMAKE_PREFIX_PATH=${env.CONDA_PREFIX}/Library" >> $GITHUB_ENV
- run: echo "PATH=${CONDA_PREFIX}/Library/lib:${PATH}" >> $GITHUB_ENV
- run: echo "PATH=${env.CONDA_PREFIX}/Library/lib:${env.PATH}" >> $GITHUB_ENV
- run: echo "CTEST_OUTPUT_ON_FAILURE=1" >> $GITHUB_ENV

# Grab miniconda and use it to install HDF5
Expand Down Expand Up @@ -126,7 +126,8 @@ jobs:
- name: Run ctest
shell: bash -el {0}
run: |
echo "Path: ${PATH}"
export PATH=${env.CONDA_PREFIX}/Library/lib:${env.PATH}
echo "Path: ${env.PATH}"
cd build
ctest . -R nc_test -j 4
Expand Down

0 comments on commit 53cdf4e

Please sign in to comment.