Skip to content

Commit

Permalink
chore(ci): Update opam workflow (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Nov 15, 2021
1 parent 5a67f9f commit f5e226f
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/opam.yml
Expand Up @@ -12,27 +12,22 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-18.04, macos-latest, windows-latest]
ocaml-version: [4.12.0]
ocaml-compiler: [4.12.0]

steps:
- name: Checkout project
uses: actions/checkout@v2
with:
submodules: 'recursive'
submodules: "recursive"

- name: Setup OCaml ${{ matrix.ocaml-version }}
uses: ocaml/setup-ocaml@v1.1.12
- name: Setup OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-version: ${{ matrix.ocaml-version }}

# I'm not exactly sure what the `opam pin` does
- name: Setup environment
run: |
opam pin add binaryen.dev . --no-action
ocaml-compiler: ${{ matrix.ocaml-compiler }}

- name: Install local dependencies
run: |
opam install . --deps-only --with-doc --with-test
opam install . --deps-only --with-test
- name: Build project
run: |
Expand Down

0 comments on commit f5e226f

Please sign in to comment.