Skip to content

Commit

Permalink
[CI] fixed "uses" in macOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
cvanaret committed Nov 17, 2024
1 parent 8e02a3a commit 389d39f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,17 @@ jobs:
matrix:
os: [macos-latest]
architecture: [x64, arm64]
toolchain: {compiler: gcc, version: 12}
compiler: [gcc]

steps:
- uses: fortran-lang/setup-fortran@v1
- uses: actions/checkout@v4

- name: Clean up FortranCInterface_VERIFY
# FortranCInterface_VERIFY fails on macOS, but it's not actually needed for the current build
run: sed -i".backup" 's/FortranCInterface_VERIFY(CXX)/# FortranCInterface_VERIFY(CXX)/g' ${{github.workspace}}/CMakeLists.txt

steps:
- uses: fortran-lang/setup-fortran@v1

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
Expand Down

0 comments on commit 389d39f

Please sign in to comment.