Skip to content

Commit 21a4090

Browse files
authored
Merge pull request ERGO-Code#1825 from ERGO-Code/fortran-linker
Fortran linker
2 parents 7ffaa25 + 7ca826e commit 21a4090

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

.github/workflows/test-fortran-macos.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,31 @@ on: [push, pull_request]
44

55
jobs:
66
fast_build_release:
7-
runs-on: ${{ matrix.os }}
8-
strategy:
9-
matrix:
10-
os: [macos-latest]
7+
runs-on: macos-12
8+
119

1210
steps:
1311
- uses: actions/checkout@v4
1412

15-
- name: Install GFortran
16-
run: brew install gfortran
13+
- uses: fortran-lang/[email protected]
14+
id: setup-fortran
15+
with:
16+
compiler: gcc
17+
version: 11
18+
19+
# - name: Install GFortran
20+
# run: brew install gfortran gcc
1721

1822
- name: Create Build Environment
1923
run: cmake -E make_directory ${{runner.workspace}}/build
20-
24+
2125
- name: Configure CMake
2226
shell: bash
2327
working-directory: ${{runner.workspace}}/build
24-
run: cmake $GITHUB_WORKSPACE -DFORTRAN=ON
28+
run: |
29+
cmake --version
30+
gfortran-11 --version
31+
cmake $GITHUB_WORKSPACE -DFORTRAN=ON
2532
2633
- name: Build
2734
shell: bash

check/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,4 +321,4 @@ if (NOT FAST_BUILD OR ALL_TESTS)
321321
endforeach(setting)
322322
endforeach()
323323

324-
endif()
324+
endif()

0 commit comments

Comments
 (0)