-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1825 from ERGO-Code/fortran-linker
Fortran linker
- Loading branch information
Showing
2 changed files
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,24 +4,31 @@ on: [push, pull_request] | |
|
||
jobs: | ||
fast_build_release: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-latest] | ||
runs-on: macos-12 | ||
|
||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install GFortran | ||
run: brew install gfortran | ||
- uses: fortran-lang/[email protected] | ||
id: setup-fortran | ||
with: | ||
compiler: gcc | ||
version: 11 | ||
|
||
# - name: Install GFortran | ||
# run: brew install gfortran gcc | ||
|
||
- name: Create Build Environment | ||
run: cmake -E make_directory ${{runner.workspace}}/build | ||
|
||
- name: Configure CMake | ||
shell: bash | ||
working-directory: ${{runner.workspace}}/build | ||
run: cmake $GITHUB_WORKSPACE -DFORTRAN=ON | ||
run: | | ||
cmake --version | ||
gfortran-11 --version | ||
cmake $GITHUB_WORKSPACE -DFORTRAN=ON | ||
- name: Build | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -321,4 +321,4 @@ if (NOT FAST_BUILD OR ALL_TESTS) | |
endforeach(setting) | ||
endforeach() | ||
|
||
endif() | ||
endif() |