Skip to content

Commit

Permalink
Revert "Use environment variables instead of contexts"
Browse files Browse the repository at this point in the history
This reverts commit 820d8ce.
  • Loading branch information
mdpiper committed Dec 11, 2024
1 parent 6fee391 commit 7b64e7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:

env:
LIBRARY_PREFIX: $env:CONDA_PREFIX\Library
FC: ${env:LIBRARY_PREFIX}\bin\flang-new.exe
FC: $env:CONDA_PREFIX\Library\bin\flang-new.exe

steps:
- uses: actions/checkout@v4
Expand All @@ -91,7 +91,7 @@ jobs:
- name: Configure, build, and install
working-directory: ${{ github.workspace }}/build
run: |
cmake .. -G Ninja -DCMAKE_Fortran_COMPILER=${env:FC} -DCMAKE_INSTALL_PREFIX=${env:LIBRARY_PREFIX} -DCMAKE_BUILD_TYPE=Release
cmake .. -G Ninja -DCMAKE_Fortran_COMPILER="${{ env.FC }}" -DCMAKE_INSTALL_PREFIX="${{ env.LIBRARY_PREFIX }}" -DCMAKE_BUILD_TYPE=Release
cmake --build . --target install --config Release
- name: Check (for humans)
Expand Down

0 comments on commit 7b64e7b

Please sign in to comment.