Skip to content

Commit

Permalink
Update GitHub actions and CirrusCI
Browse files Browse the repository at this point in the history
  • Loading branch information
dinosaure committed Apr 25, 2024
1 parent e76ae80 commit 2eb4cf5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ freebsd_task:

test_mirage_script: eval `opam env` && ./.test-mirage.sh

freebsd_eio_task:
freebsd_ocaml_5_task:
pkg_install_script: pkg install -y ocaml-opam gmake pkgconf bash

ocaml_script:
- opam init -a --comp=5.0.0
- opam env

pin_packages_script:
- opam install -y --deps-only -t ./mirage-crypto.opam ./mirage-crypto-rng.opam ./mirage-crypto-rng-eio.opam
- opam install -y --deps-only -t ./mirage-crypto.opam ./mirage-crypto-rng.opam ./mirage-crypto-rng-eio.opam ./mirage-crypto-rng-miou.opam

test_script: opam exec -- dune runtest -p mirage-crypto,mirage-crypto-rng,mirage-crypto-rng-eio
test_script: opam exec -- dune runtest -p mirage-crypto,mirage-crypto-rng,mirage-crypto-rng-eio,mirage-crypto-rng-miou
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
opam-local-packages: |
*.opam
!mirage-crypto-rng-eio.opam
!mirage-crypto-rng-miou.opam
ocaml-compiler: ${{ matrix.ocaml-version }}

- name: Install dependencies
Expand All @@ -35,8 +36,8 @@ jobs:
- name: Test
run: opam exec -- dune runtest -p mirage-crypto,mirage-crypto-rng,mirage-crypto-rng-lwt,mirage-crypto-rng-mirage,mirage-crypto-pk,mirage-crypto-ec,mirage-crypto-rng-async

build-test-unix-eio:
name : Unix (eio)
build-test-ocaml-5:
name : Tests with OCaml 5

strategy:
fail-fast: false
Expand All @@ -57,13 +58,14 @@ jobs:
mirage-crypto.opam
mirage-crypto-rng.opam
mirage-crypto-rng-eio.opam
mirage-crypto-rng-miou.opam
ocaml-compiler: ${{ matrix.ocaml-version }}

- name: Install dependencies
run: opam install --deps-only -t mirage-crypto mirage-crypto-rng mirage-crypto-rng-eio
run: opam install --deps-only -t mirage-crypto mirage-crypto-rng mirage-crypto-rng-eio mirage-crypto-rng-miou

- name: Build
run: opam exec -- dune build -p mirage-crypto,mirage-crypto-rng,mirage-crypto-rng-eio
run: opam exec -- dune build -p mirage-crypto,mirage-crypto-rng,mirage-crypto-rng-eio,mirage-crypto-rng-miou

- name: Test
run: opam exec -- dune runtest -p mirage-crypto,mirage-crypto-rng,mirage-crypto-rng-eio
run: opam exec -- dune runtest -p mirage-crypto,mirage-crypto-rng,mirage-crypto-rng-eio,mirage-crypto-rng-miou
1 change: 1 addition & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
*.opam
!mirage-crypto-rng-async.opam
!mirage-crypto-rng-eio.opam
!mirage-crypto-rng-miou.opam
ocaml-compiler: ${{ matrix.ocaml-version }}

- name: Install dependencies
Expand Down

0 comments on commit 2eb4cf5

Please sign in to comment.