qubes-mirage-firewall/.github/workflows/main.yml
2022-11-11 15:36:42 +01:00

42 lines
795 B
YAML

name: Main workflow
on:
pull_request:
push:
schedule:
# Prime the caches every Monday
- cron: 0 1 * * MON
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
ocaml-compiler:
- 4.14.x
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: opam depext solo5 "mirage>4"
- run: opam install solo5 "mirage>4"
- run: opam exec -- mirage configure -t xen
- run: opam exec -- make depend
- run: opam exec -- dune build
- run: sha256sum dist/qubes-firewall.xen