Skip to content

Commit

Permalink
Update GitHub Actions workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <sora@morimoto.io>
  • Loading branch information
smorimoto committed May 7, 2024
1 parent 769267d commit 276d972
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,27 @@ jobs:
- macos-latest
- ubuntu-latest
ocaml-compiler:
- 4.08.x
- 4.09.x
- 4.10.x
- 4.11.x
- 4.12.x
- 4.13.x
- 4.14.x
- "4.12"
- "4.13"
- "4.14"

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

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

- name: Use OCaml ${{ matrix.ocaml-compiler }}
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
allow-prerelease-opam: true
opam-depext: false
opam-pin: false

- name: Install OpenSSL on MacOS
run: brew install openssl@3
if: ${{ matrix.os == 'macos-latest' }}
- name: Re-install OpenSSL on macOS
if: runner.os == 'macOS'
run: brew update && brew reinstall openssl@3

- run: opam install . --deps-only

Expand Down

0 comments on commit 276d972

Please sign in to comment.