From 386c3eae73ba5307c0f24f3773ca171fb367be66 Mon Sep 17 00:00:00 2001 From: Marcello Seri Date: Wed, 20 Nov 2024 16:59:55 +0100 Subject: [PATCH] Update mac.yml This is a cleaner solution and will keep working once the workers are fixed by github --- .github/workflows/mac.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index ca28a832e..31ec062dd 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -16,14 +16,17 @@ jobs: steps: - uses: actions/checkout@main + - name: macos fix + if: runner.os == 'Macos' + run: | + brew update + brew upgrade + brew install pkgconf + # work around https://github.com/actions/runner-images/issues/10984 + - name: Deps # git build-essential wget unzip aspcud m4 pkg-config libshp-dev libopenblas-dev liblapacke-dev - # homebrew in the workers comes pre-installed with the old pkg-config, which conflicts with the new pkgconf - run: | - brew unlink pkg-config - brew install pkgconf aspcud openblas - brew unlink pkgconf - brew link pkg-config + run: brew install aspcud openblas - name: Use OCaml uses: ocaml/setup-ocaml@v2