Adding date time tests #262
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy doc | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
ocaml-version: | |
- 4.08.1 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use OCaml ${{ matrix.ocaml-version }} | |
uses: avsm/setup-ocaml@v1 | |
with: | |
ocaml-version: ${{ matrix.ocaml-version }} | |
- name: Build | |
run: | | |
opam install dune containers fmt | |
opam install mparser re ptime oseq seq diet | |
opam install yojson fileutils | |
opam install utop ocp-indent | |
opam install alcotest crowbar | |
opam install js_of_ocaml js_of_ocaml-ppx lwt_ppx | |
opam install js_of_ocaml-lwt qcheck qcheck-alcotest | |
opam install angstrom | |
opam install sexplib | |
opam install odoc | |
eval $(opam env); make doc | |
mkdir public | |
cp -r _build/default/_doc/_html/* public/ | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: gh-pages | |
folder: ./public |