mirror of
https://github.com/mirage/qubes-mirage-firewall.git
synced 2024-12-27 16:19:24 -05:00
add github action to compile the firewall
This commit is contained in:
parent
b09acdeec2
commit
bed0aa5cc4
35
.github/actions/main.yml
vendored
Normal file
35
.github/actions/main.yml
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
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 install --confirm-level=unsafe-yes "mirage>4"
|
||||
|
||||
- run: opam exec -- mirage configure -t xen && make depend && dune build
|
||||
|
||||
- run: sha256sum dist/qubes-firewall.xen
|
Loading…
Reference in New Issue
Block a user