Skip to content

Support OCaml 5.3.0 #172

Support OCaml 5.3.0

Support OCaml 5.3.0 #172

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
ocaml-compiler: [5.3.0]
name: OCaml ${{ matrix.ocaml-compiler }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
opam-local-packages: |
*.opam
!ocaml-solo5-cross-aarch64.opam
- name: Install ocaml-solo5 and dune
run: opam install ocaml-solo5 conf-libseccomp dune
- name: Compile examples with hvt
run: MODE=hvt opam exec -- dune build --root example
- name: Compile examples with spt
run: MODE=spt opam exec -- dune build --root example
- name: Run examples with spt
run: MODE=spt opam exec -- dune runtest --root example
- name: Compile examples with virtio
run: MODE=virtio opam exec -- dune build --root example
- name: Compile examples with muen
run: MODE=muen opam exec -- dune build --root example
- name: Compile examples with xen
run: MODE=xen opam exec -- dune build --root example