Skip to content

Commit

Permalink
Fix workflow a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Windsor committed Nov 2, 2023
1 parent 8398c54 commit 6a580e9
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,21 @@ jobs:
# - macos-latest
- ubuntu-latest
# - windows-latest
ocaml-version:
- 4.11.0
- 4.10.1
ocaml-compiler:
- "5.1"

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

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

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

- run: opam pin add c4f.dev . --no-action

- run: opam depext c4f --yes --with-doc --with-test

- run: opam install . --deps-only --with-doc --with-test
- run: opam install . --deps-only --with-test

- run: opam exec -- dune build

Expand All @@ -41,5 +36,5 @@ jobs:
# - name: Upload the build artifact
# uses: actions/upload-artifact@v2
# with:
# name: ${{ matrix.os }}-${{ matrix.ocaml-version }}-world.exe
# name: ${{ matrix.os }}-${{ matrix.ocaml-compiler }}-world.exe
# path: _build/default/world.exe

0 comments on commit 6a580e9

Please sign in to comment.