Skip to content

.os.yml: drop support for 4.12, check also 5.2 #73

.os.yml: drop support for 4.12, check also 5.2

.os.yml: drop support for 4.12, check also 5.2 #73

Workflow file for this run

name: Build and test on Mac
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy-owl:
name: Install Owl
runs-on: macos-latest
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 pkgconf aspcud openblas
brew unlink pkgconf
brew link pkg-config
- name: Use OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: '5.1'
# opam-local-packages: |
# *.opam
dune-cache: true
allow-prerelease-opam: true
- name: OCaml Deps
run: opam install ocaml-compiler-libs alcotest conf-openblas ctypes dune-configurator stdio npy
- name: Compile Owl, install
run: opam exec -- dune build @install
- name: Run tests
run: |
opam install owl-base
opam exec -- dune runtest -j 1 --no-buffer -p owl