Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mac.yml: fix pkg-config issue #681

Merged
merged 5 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 uninstall 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
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:
opam exec -- dune build @doc

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/default/_doc/_html
Expand Down
Loading