File tree 4 files changed +2911
-0
lines changed
4 files changed +2911
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Regression
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - main
8
+
9
+ jobs :
10
+ error-regression :
11
+ name : Error egression
12
+
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ os :
17
+ - ubuntu-latest
18
+ ocaml-compiler :
19
+ - 4.14.x
20
+
21
+ runs-on : ${{ matrix.os }}
22
+
23
+ steps :
24
+ - name : Checkout code
25
+ uses : actions/checkout@v3
26
+ with :
27
+ submodules : true
28
+
29
+ - name : Use OCaml ${{ matrix.ocaml-compiler }}
30
+ uses : ocaml/setup-ocaml@v2
31
+ with :
32
+ ocaml-compiler : ${{ matrix.ocaml-compiler }}
33
+ dune-cache : ${{ matrix.os == 'ubuntu-latest' }}
34
+
35
+ - name : Install opam packages
36
+ run : opam install --deps-only .
37
+
38
+ - name : Run build
39
+ run : opam exec -- dune build
40
+
41
+ - name : Install merlin
42
+ run : opam install .
43
+
44
+ - name : Install merl-an
45
+ run : opam pin -y merl-an https://github.com/pitag-ha/merl-an.git
46
+
47
+ - name : Run tests
48
+ run : REGRESSION=true opam exec -- dune test regression
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ git clone https://github.com/mirage/irmin.git
3
+ cd irmin
4
+ git checkout 8da4d16e7cc8beddfc8a824feca325426bae08a9
5
+ sudo apt install -y gnuplot-x11 libgmp-dev pkg-config libffi-dev
6
+ opam install . --deps-only --with-test --no-checksums -y
7
+ opam exec -- dune build
Original file line number Diff line number Diff line change
1
+ (env (_
2
+ (binaries build-irmin)))
3
+
4
+ (cram
5
+ (enabled_if
6
+ (= true %{env:REGRESSION=false}))
7
+ (applies_to :whole_subtree)
8
+ (deps
9
+ %{bin:build-irmin}))
You can’t perform that action at this time.
0 commit comments