Skip to content

Commit 4f5491a

Browse files
author
Lucas Pluvinage
committed
test with the gmp package
1 parent 458d1af commit 4f5491a

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/CI.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI
33
on: [push, pull_request]
44

55
jobs:
6-
test:
6+
Host-Freestanding:
77
strategy:
88
matrix:
99
operating-system: [ubuntu-latest]
@@ -51,3 +51,18 @@ jobs:
5151
run: opam exec -- dune build @install
5252
- name: Running tests
5353
run: opam exec -- dune runtest
54+
Ubuntu-GMP:
55+
runs-on: ubuntu-latest
56+
steps:
57+
- uses: actions/checkout@v2
58+
- uses: actions-ml/setup-ocaml@master
59+
with:
60+
ocaml-version: 4.11.2
61+
- name: Pin ocaml-gmp
62+
run: opam pin -n -y git+https://github.com/mirage/ocaml-gmp.git#master
63+
- name: Dune, global GMP
64+
run: opam depext -iyt gmp dune
65+
- name: Compiling example project
66+
run: opam exec -- dune build @install
67+
- name: Running tests
68+
run: opam exec -- dune runtest

0 commit comments

Comments
 (0)