Skip to content

Commit

Permalink
Update mac.yml
Browse files Browse the repository at this point in the history
This is a cleaner solution and will keep working once the workers are fixed by github
  • Loading branch information
mseri authored Nov 20, 2024
1 parent 8cec08f commit 386c3ea
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 386c3ea

Please sign in to comment.