Skip to content

Commit

Permalink
_
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Dec 3, 2024
1 parent 7da6f67 commit c1587b7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: build

on:
pull_request:
push:
branches:
- master
pull_request:
schedule:
# Prime the caches every Monday
- cron: 0 1 * * MON
Expand All @@ -22,12 +20,14 @@ jobs:
- "4.14"
- "5.2"
include:
# Lower bound
- os: ubuntu-latest
ocaml-compiler: "4.08" # Lower bound
ocaml-compiler: "4.08"
- os: ubuntu-latest
ocaml-compiler: "ocaml-variants.4.14.2+options,ocaml-option-32bit"
# Note this OCaml compiler is bytecode only
- os: ubuntu-latest
ocaml-compiler: "ocaml-variants.5.2.1+options,ocaml-option-32bit" # Note this OCaml compiler is bytecode only
ocaml-compiler: "ocaml-variants.5.2.1+options,ocaml-option-32bit"

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -83,13 +83,13 @@ jobs:
- run: opam exec -- git diff --exit-code
if: matrix.ocaml-compiler >= 5.0

- name: build doc
- name: Build doc
if: ${{ matrix.os == 'ubuntu-latest' && matrix.ocaml-compiler == '5.2' && github.event_name == 'push' && github.ref_name == 'master'}}
run: |
opam install odoc lwt_log cohttp-lwt-unix yojson ocp-indent graphics higlo
opam exec -- make doc
- name: synchronize doc
- name: Synchronize doc
if: ${{ matrix.os == 'ubuntu-latest' && matrix.ocaml-compiler == '5.2' && github.event_name == 'push' && github.ref_name == 'master'}}
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down

0 comments on commit c1587b7

Please sign in to comment.