File tree Expand file tree Collapse file tree 4 files changed +45
-33
lines changed Expand file tree Collapse file tree 4 files changed +45
-33
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : github-actions
4+ directory : /
5+ schedule :
6+ interval : weekly
Original file line number Diff line number Diff line change 1- name : Main workflow
1+ name : Builds, tests & co
22
33on :
44 pull_request :
77 # Prime the caches every Monday
88 - cron : 0 1 * * MON
99
10+ permissions : read-all
11+
1012jobs :
1113 build :
1214 strategy :
1315 fail-fast : false
1416 matrix :
1517 os :
1618 - macos-latest
17- - windows -latest
19+ - ubuntu -latest
1820 ocaml-compiler :
19- - 4.13.x
21+ - 5
22+ - 4
2023
2124 runs-on : ${{ matrix.os }}
2225
2326 steps :
24- - name : Checkout code
25- uses : actions/checkout@v2
27+ - name : Checkout tree
28+ uses : actions/checkout@v4
2629
27- - name : Use OCaml ${{ matrix.ocaml-compiler }}
28- uses : ocaml/setup-ocaml@v2
30+ - name : Set-up OCaml
31+ uses : ocaml/setup-ocaml@v3
2932 with :
30- opam-repositories : |
31- opam-repository-mingw: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
32- default: https://github.com/ocaml/opam-repository.git
3333 ocaml-compiler : ${{ matrix.ocaml-compiler }}
3434
3535 - run : opam install . --deps-only --with-test
3636
3737 - run : opam exec -- dune build
3838
3939 - run : opam exec -- dune runtest
40+
41+ unikernel-example :
42+ strategy :
43+ fail-fast : false
44+ matrix :
45+ mode :
46+ - qubes
47+ - unix
48+ - virtio
49+
50+ defaults :
51+ run :
52+ working-directory : examples/unikernel
53+
54+ runs-on : ubuntu-latest
55+
56+ steps :
57+ - name : Checkout tree
58+ uses : actions/checkout@v4
59+
60+ - name : Set-up OCaml
61+ uses : ocaml/setup-ocaml@v3
62+ with :
63+ ocaml-compiler : 4
64+
65+ - run : opam install mirage
66+ - run : opam exec -- mirage configure -t ${{ matrix.mode }}
67+ - run : opam exec -- make depend
68+ - run : opam exec -- make
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments