-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Run tests on all versions of ocaml + some more install tests * Try and fix versions for ocaml * try and fix build file * Fix ci script for windows versions * Stop enforcing exit codes for better logging upon errors * Fix versions for windows * Try and fix matrix for install job * Mainly test through opam installation * more robust install script * Rename test -> build
- Loading branch information
Showing
85 changed files
with
1,389 additions
and
1,437 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,17 +34,9 @@ jobs: | |
os: | ||
- ubuntu-latest | ||
|
||
# Ocaml versions to test. This is a bit of a misnomer, considering | ||
# that it is actually just a list of package to install as the base | ||
# of the switch | ||
# Ocaml versions to use | ||
ocaml-version: | ||
- ocaml-base-compiler.5.0.0 | ||
- ocaml-variants.4.14.0+options,ocaml-option-flambda | ||
- ocaml-base-compiler.4.14.0 | ||
- ocaml-base-compiler.4.13.1 | ||
- ocaml-base-compiler.4.12.1 | ||
- ocaml-base-compiler.4.11.2 | ||
- ocaml-base-compiler.4.10.1 | ||
|
||
# Build ENV | ||
# --------- | ||
|
@@ -69,7 +61,24 @@ jobs: | |
run: opam update | ||
# Install ocaml deps | ||
- name: Install Ocaml deps | ||
run: opam install . --deps-only | ||
run: opam install . --deps-only --with-test --with-doc | ||
# Build the package | ||
- name: Build the package | ||
run: opam exec -- make | ||
# Check the tests | ||
- name: Build the examples | ||
run: opam exec -- make test | ||
# Check the doc builds | ||
- name: Build the doc | ||
run: opam exec -- make doc | ||
|
||
# Update the doc | ||
# -------------- | ||
- name: Deploy the dev documentation | ||
uses: JamesIves/[email protected] | ||
if: github.ref == 'refs/heads/master' | ||
with: | ||
branch: gh-pages | ||
folder: _build/default/_doc/_html | ||
target-folder: dev | ||
|
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
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.