Skip to content

Commit

Permalink
Merge pull request #239 from ocsigen/update-gha
Browse files Browse the repository at this point in the history
Update GitHub Actions
  • Loading branch information
smorimoto authored May 7, 2024
2 parents f096e4d + 1024c12 commit c117096
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 18 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
39 changes: 21 additions & 18 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,40 +13,43 @@ jobs:
fail-fast: false
matrix:
os:
- 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
- 5.0.x
- 5.1.x
- "4.08"
- "4.09"
- "4.10"
- "4.11"
- "4.12"
- "4.13"
- "4.14"
- "5.0"
- "5.1"
include:
- os: macos-latest
ocaml-compiler: "4.14"
- os: macos-latest
ocaml-compiler: "5.1"

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

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

- name: Use OCaml ${{ matrix.ocaml-compiler }}
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: ${{ matrix.os != 'macos-latest' }}
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

- run: opam exec -- ./configure
shell: bash

- run: opam exec -- make all

0 comments on commit c117096

Please sign in to comment.