diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 32f94bf5..1084bf37 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -27,8 +27,6 @@ jobs: host-triplet: arm64-osx-dynamic env: buildtrees: /Users/runner/vcpkg-build - FC: gfortran - GCC_VERSION: 15 # the background metrics upload inherits vcpkg's install lock and makes the next install fail VCPKG_DISABLE_METRICS: 1 @@ -41,26 +39,17 @@ jobs: - name: 🐩 Install CMake and Ninja uses: lukka/get-cmake@latest + with: + # CMake 4.5 breaks boost-locale 1.92 (microsoft/vcpkg#55069) + cmakeVersion: "~4.4.0" - name: 🔨 Prepare build env - run: | - brew install autoconf automake autoconf-archive libtool mono swig bison flex llvm@20 - echo "HOMEBREW_PREFIX=$(brew --prefix)" >> $GITHUB_ENV + run: brew install autoconf automake autoconf-archive libtool mono swig bison flex llvm@20 - name: 🍷 Install Rosetta if: matrix.host-triplet run: sudo softwareupdate --install-rosetta --agree-to-license - - name: Symlink gfortran - run: | - # make sure gfortran is available - # https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md - # https://github.com/actions/runner-images/issues/3371 - # ln version - new path 'MacOS14' - sudo ln -fs $HOMEBREW_PREFIX/bin/gfortran-${GCC_VERSION} /usr/local/bin/gfortran - sudo mkdir -p /usr/local/gfortran - sudo ln -sf $HOMEBREW_PREFIX/Cellar/gcc@${GCC_VERSION}/*/lib/gcc/${GCC_VERSION} /usr/local/gfortran/lib - - name: 🔖 Read vcpkg baseline id: vcpkg-baseline shell: bash diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 12895111..ca3a930c 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -34,6 +34,9 @@ jobs: - name: 🐩 Install CMake and Ninja uses: lukka/get-cmake@latest + with: + # CMake 4.5 breaks boost-locale 1.92 (microsoft/vcpkg#55069) + cmakeVersion: "~4.4.0" - name: 🧽 Developer Command Prompt for Microsoft Visual C++ uses: ilammy/msvc-dev-cmd@v1