-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop OCaml 4.04 for ppxlib. Migrate from Travis to GitHub Actions.
- Loading branch information
Showing
4 changed files
with
55 additions
and
8 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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Main workflow | ||
|
||
on: | ||
- pull_request | ||
- push | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- macos-latest | ||
- ubuntu-latest | ||
- windows-latest | ||
ocaml-version: | ||
- 4.12.0 | ||
- 4.11.2 | ||
- 4.10.2 | ||
- 4.09.1 | ||
- 4.08.1 | ||
- 4.07.1 | ||
- 4.06.1 | ||
- 4.05.0 | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Use OCaml ${{ matrix.ocaml-version }} | ||
uses: avsm/setup-ocaml@v1 | ||
with: | ||
ocaml-version: ${{ matrix.ocaml-version }} | ||
|
||
- run: opam pin add ppx_deriving_cmdliner.dev . --no-action | ||
|
||
- run: opam depext ppx_deriving_cmdliner --yes --with-test | ||
|
||
- run: opam install . --deps-only --with-test | ||
|
||
- run: opam exec -- dune build | ||
|
||
- run: opam exec -- dune runtest |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
(lang dune 1.0) | ||
;; This file is used by `make all-supported-ocaml-versions` | ||
(context (opam (switch 4.04.0))) | ||
(context (opam (switch 4.12.0))) | ||
(context (opam (switch 4.11.2))) | ||
(context (opam (switch 4.10.2))) | ||
(context (opam (switch 4.09.1))) | ||
(context (opam (switch 4.08.1))) | ||
(context (opam (switch 4.07.1))) | ||
(context (opam (switch 4.06.1))) | ||
(context (opam (switch 4.05.0))) | ||
(context (opam (switch 4.06.0))) | ||
(context (opam (switch 4.07.0))) | ||
(context (opam (switch 4.08.0))) | ||
(context (opam (switch 4.09.0))) | ||
(context (opam (switch 4.10.0))) | ||
(context (opam (switch 4.11.0))) |
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