Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,10 @@ jobs:
deploy:
name: Deploy doc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
container: ghcr.io/c-cube/c-cube-commmon/ci-doc-5.3:latest

- name: Use OCaml
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: '5.3'
dune-cache: true
allow-prerelease-opam: true
steps:
- uses: actions/checkout@v6

# temporary until it's in a release
- run: opam pin picos 0.6.0 -y -n
Expand Down
40 changes: 13 additions & 27 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,17 @@ jobs:
strategy:
fail-fast: true
matrix:
os:
- ubuntu-latest
ocaml-compiler:
- '5.0'
- '5.3'
include:
- ocaml-version: '5.0'
container: ghcr.io/c-cube/c-cube-commmon/ci-5.0:latest
- ocaml-version: '5.3'
container: ghcr.io/c-cube/c-cube-commmon/ci-doc-5.3:latest

runs-on: ubuntu-latest
container: ${{ matrix.container }}

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@main
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: true
allow-prerelease-opam: true
- uses: actions/checkout@v6

- run: opam pin picos 0.6.0 -y -n

Expand Down Expand Up @@ -70,20 +66,10 @@ jobs:

format:
name: format
strategy:
matrix:
ocaml-compiler:
- '5.3'
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@main
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: true
allow-prerelease-opam: true
runs-on: ubuntu-latest
container: ghcr.io/c-cube/c-cube-commmon/ci-doc-5.3:latest

steps:
- uses: actions/checkout@v6
- run: opam install ocamlformat.0.27.0
- run: opam exec -- make format-check

Loading