Skip to content

Commit

Permalink
[CI] macOS build: try to remove the install of Fortran compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
cvanaret committed Nov 27, 2024
1 parent 7da07df commit 5c3fcc7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Fortran compiler
uses: fortran-lang/setup-fortran@v1
with:
compiler: ${{matrix.compiler}}

- name: Clean up FortranCInterface_VERIFY
# FortranCInterface_VERIFY fails on macOS, but it's not actually needed for the current build
Expand All @@ -46,7 +41,7 @@ jobs:
- 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.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_Fortran_COMPILER=${{env.FC}}
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build
# Build your program with the given configuration
Expand Down

0 comments on commit 5c3fcc7

Please sign in to comment.