diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d90b4c9b8..4a83046cd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,11 +25,17 @@ jobs: dune-cache: true allow-prerelease-opam: true + - name: Deps + # run: sudo apt-get install git build-essential wget unzip aspcud m4 pkg-config libshp-dev libopenblas-dev liblapacke-dev + run: sudo apt-get install aspcud libshp-dev libopenblas-dev liblapacke-dev + - name: OCaml Deps run: opam install ocaml-compiler-libs alcotest conf-openblas ctypes dune-configurator stdio npy odoc - - name: Deps - run: sudo apt-get install git build-essential wget unzip aspcud m4 pkg-config libshp-dev libopenblas-dev liblapacke-dev + - name: Compile Owl, install, and run test + run: | + opam exec -- dune build @install + opam exec -- dune runtest -j 1 --no-buffer -p owl - name: Build doc run: | @@ -43,8 +49,3 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./docs destination_dir: . - - - name: Compile Owl, install, and run test - run: | - opam exec -- dune build @install - opam exec -- dune runtest -j 1 --no-buffer -p owl \ No newline at end of file