Skip to content

Commit 861cf53

Browse files
committed
ci: hint FC, version needs apostrophes
need job-wide FC for externalprojecto
1 parent 5f6a91e commit 861cf53

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,16 @@ jobs:
2727
{os: windows-latest, fc: gfortran}
2828
]
2929

30+
env:
31+
FC: ${{ matrix.cfg.fc }}
32+
3033
runs-on: ${{ matrix.cfg.os }}
3134

3235
steps:
3336
- uses: actions/checkout@v2
3437

3538
- name: Install CMake
36-
run: cmake -Dversion=${{ env.cmake_version }} -Dprefix:PATH=${{ runner.temp }} -P install_cmake.cmake
39+
run: cmake "-Dversion=${{ env.cmake_version }}" -Dprefix:PATH=${{ runner.temp }} -P install_cmake.cmake
3740

3841
- name: CMake path (Linux)
3942
if: runner.os == 'linux'
@@ -48,7 +51,7 @@ jobs:
4851
run: echo "${{ runner.temp }}/cmake-${{ env.cmake_version }}-windows-x86_64/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
4952

5053
- name: Install Ninja
51-
run: cmake -Dversion=${{ env.ninja_version }} -Dprefix:PATH=${{ runner.temp }} -P install_ninja.cmake
54+
run: cmake "-Dversion=${{ env.ninja_version }}" -Dprefix:PATH=${{ runner.temp }} -P install_ninja.cmake
5255

5356
- name: Ninja path (unix)
5457
if: runner.os == 'linux' || runner.os == 'macos'

0 commit comments

Comments
 (0)