diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 9f231f41..7e7f0fa2 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -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.