Skip to content

Commit

Permalink
Use LIBRARY_PREFIX env var to install HeatModelF
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpiper committed Dec 20, 2024
1 parent d986152 commit d658e72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ jobs:

runs-on: windows-latest

env:
LIBRARY_PREFIX: $env:CONDA_PREFIX\Library

defaults:
run:
shell: pwsh
Expand Down Expand Up @@ -110,7 +113,7 @@ jobs:
- name: Configure, build, and install HeatModelF
run: |
cmake ./external/bmi-example-fortran -B ${{ env.BUILD_DIR }} -LA -G Ninja -DCMAKE_INSTALL_PREFIX=${{ env.CONDA_PREFIX }} -DCMAKE_BUILD_TYPE=Release
cmake ./external/bmi-example-fortran -B ${{ env.BUILD_DIR }} -LA -G Ninja -DCMAKE_INSTALL_PREFIX=${{ env.LIBRARY_PREFIX }} -DCMAKE_BUILD_TYPE=Release
cmake --build ${{ env.BUILD_DIR }} --target install --config Release
- name: Build and install package
Expand Down

0 comments on commit d658e72

Please sign in to comment.