Skip to content

Commit

Permalink
Merge pull request ERGO-Code#1825 from ERGO-Code/fortran-linker
Browse files Browse the repository at this point in the history
Fortran linker
  • Loading branch information
galabovaa authored Jul 1, 2024
2 parents 7ffaa25 + 7ca826e commit 21a4090
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/test-fortran-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/setup-fortran@v1.6
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
Expand Down
2 changes: 1 addition & 1 deletion check/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -321,4 +321,4 @@ if (NOT FAST_BUILD OR ALL_TESTS)
endforeach(setting)
endforeach()

endif()
endif()

0 comments on commit 21a4090

Please sign in to comment.