Skip to content

Commit

Permalink
Update mac.yml: fix pkg-config issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mseri authored Nov 18, 2024
1 parent 4a52768 commit 648220b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ jobs:
steps:
- uses: actions/checkout@main

- 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 aspcud openblas
- name: Use OCaml
uses: ocaml/setup-ocaml@v2
with:
Expand All @@ -24,10 +31,6 @@ jobs:
# *.opam
dune-cache: true
allow-prerelease-opam: true

- name: Deps
# git build-essential wget unzip aspcud m4 pkg-config libshp-dev libopenblas-dev liblapacke-dev
run: brew install aspcud openblas

- name: OCaml Deps
run: opam install ocaml-compiler-libs alcotest conf-openblas ctypes dune-configurator stdio npy
Expand All @@ -38,4 +41,4 @@ jobs:
- name: Run tests
run: |
opam install owl-base
opam exec -- dune runtest -j 1 --no-buffer -p owl
opam exec -- dune runtest -j 1 --no-buffer -p owl

0 comments on commit 648220b

Please sign in to comment.