Skip to content

Commit

Permalink
debugging CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jzstark committed Mar 8, 2024
1 parent 2b780d4 commit c4b8e9e
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,31 @@ jobs:
- name: OCaml Deps
run: opam install ocaml-compiler-libs alcotest conf-openblas ctypes dune-configurator stdio npy odoc

- name: Compile Owl, install
run: opam exec -- dune build @install

- name: Run tests
# installing owl-base is a temp hack due to some unknown error in testing
run: |
opam install owl-base
opam exec -- dune runtest -j 1 --no-buffer -p owl
- name: Build doc
run: |
opam exec -- dune build @doc
cat docs/mathjax.js docs/highlight.pack.js >> _build/default/_doc/_html/highlight.pack.js
cp docs/*.js _build/default/_doc/_html/
cp docs/*.css _build/default/_doc/_html/
# cat docs/mathjax.js docs/highlight.pack.js >> _build/default/_doc/_html/highlight.pack.js

- name: inspect
run: |
ls _build/default/_doc/_html/owl/Owl
ls _build/default/_doc/_html/owl/Owl_fft/
ls _build/default/_doc/_html/owl/
ls _build/default/_doc/_html/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/default/_doc/_html
destination_dir: .

- name: Compile Owl, install
run: opam exec -- dune build @install

- name: Run tests
# installing owl-base is a temp hack due to some unknown error in testing
run: |
opam install owl-base
opam exec -- dune runtest -j 1 --no-buffer -p owl

0 comments on commit c4b8e9e

Please sign in to comment.