Skip to content

Commit

Permalink
Actions: Correctly use conda ssl path
Browse files Browse the repository at this point in the history
  • Loading branch information
simmsa committed Dec 6, 2024
1 parent 97c259b commit 0e61e08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/unix_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,9 @@ jobs:
# Step 3: Set DYLD_LIBRARY_PATH for Python's OpenSSL
- name: Configure DYLD_LIBRARY_PATH for MATLAB
if: matrix.os == 'macos-13'
shell: bash -l {0}
run: |
conda activate mhkit_conda_env
OPENSSL_LIB_PATH=$(brew --prefix openssl)/lib
CONDA_LIB_PATH=$(python -c "import sys; import os; print(os.path.join(os.path.dirname(sys.executable), 'lib'))")
export DYLD_LIBRARY_PATH="$CONDA_LIB_PATH:$OPENSSL_LIB_PATH:$DYLD_LIBRARY_PATH"
Expand Down

0 comments on commit 0e61e08

Please sign in to comment.