This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
49
unikernel/duniverse/ocaml-gmp/.github/workflows/CI.yml
vendored
Normal file
49
unikernel/duniverse/ocaml-gmp/.github/workflows/CI.yml
vendored
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
name: CI
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
Host:
|
||||
strategy:
|
||||
matrix:
|
||||
operating-system: [ubuntu-latest,macos-latest]
|
||||
ocaml-version: [4.12.1,4.13.1,4.14.2,5.3.0]
|
||||
runs-on: ${{ matrix.operating-system }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ocaml/setup-ocaml@v3
|
||||
with:
|
||||
ocaml-compiler: ${{ matrix.ocaml-version }}
|
||||
dune-cache: true
|
||||
opam-local-packages: |
|
||||
!gmp.opam
|
||||
- name: Add mirage-dev repository
|
||||
run: opam repo add mirage-dev git+https://github.com/mirage/mirage-dev.git#master
|
||||
- name: Compiling example project
|
||||
run: opam exec -- dune build @install
|
||||
- name: Running tests
|
||||
run: opam exec -- dune runtest
|
||||
Cross-Solo5:
|
||||
strategy:
|
||||
matrix:
|
||||
operating-system: [ubuntu-latest]
|
||||
ocaml-version: [5.3.0]
|
||||
runs-on: ${{ matrix.operating-system }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ocaml/setup-ocaml@v3
|
||||
with:
|
||||
ocaml-compiler: ${{ matrix.ocaml-version }}
|
||||
dune-cache: true
|
||||
opam-local-packages: |
|
||||
!gmp.opam
|
||||
- name: Pin ocaml-solo5
|
||||
run: opam pin add -yn ocaml-solo5 https://github.com/mirage/ocaml-solo5.git
|
||||
- name: Add mirage-dev repository
|
||||
run: opam repo add mirage-dev git+https://github.com/mirage/mirage-dev.git#master
|
||||
- name: Install ocaml-solo5
|
||||
run: opam depext -yit ocaml-solo5
|
||||
- name: Compiling example project
|
||||
run: opam exec -- dune build @install --workspace dune-workspace.solo5
|
||||
- name: Running tests
|
||||
run: opam exec -- dune runtest --workspace dune-workspace.solo5
|
||||
Loading…
Add table
Add a link
Reference in a new issue