Skip to content

Commit 14ebd98

Browse files
authored
Update mac.yml (#683)
This is a cleaner solution and will keep working once the workers are fixed by github
1 parent 8cec08f commit 14ebd98

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/mac.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,17 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@main
1818

19+
- name: macos fix
20+
if: runner.os == 'Macos'
21+
run: |
22+
brew update
23+
brew upgrade
24+
brew install pkgconf
25+
# work around https://github.com/actions/runner-images/issues/10984
26+
1927
- name: Deps
2028
# git build-essential wget unzip aspcud m4 pkg-config libshp-dev libopenblas-dev liblapacke-dev
21-
# homebrew in the workers comes pre-installed with the old pkg-config, which conflicts with the new pkgconf
22-
run: |
23-
brew unlink pkg-config
24-
brew install pkgconf aspcud openblas
25-
brew unlink pkgconf
26-
brew link pkg-config
29+
run: brew install aspcud openblas
2730

2831
- name: Use OCaml
2932
uses: ocaml/setup-ocaml@v2

0 commit comments

Comments
 (0)