File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010jobs :
1111 build :
1212
13+ strategy :
14+ matrix :
15+ ocaml-version :
16+ - 4.14
17+ - 5.1
18+
1319 runs-on : ubuntu-latest
1420
1521 steps :
1622 - name : Checkout code
17- uses : actions/checkout@v2
23+ uses : actions/checkout@v4
1824
1925 - name : Update apt
2026 run : sudo apt-get update
2127
22- - name : Set up OCaml
28+ - name : Set up OCaml ${{ matrix.ocaml-version }}
2329 uses : ocaml/setup-ocaml@v2
2430 with :
25- ocaml-compiler : 4.13.1
31+ ocaml-compiler : ${{ matrix.ocaml-version }}
2632 dune-cache : true
33+ opam-depext-flags : " --with-test"
34+ allow-prerelease-opam : true
2735
2836 - name : Install OCaml deps
2937 run : opam install . --deps-only --with-test
38+
39+ - name : Pin libevent
40+ run : opam pin add libevent --dev
3041
3142 - name : Build
32- run : opam exec -- dune build
43+ run : opam exec -- dune build --profile=release
3344
3445 - name : Test
35- run : opam exec -- dune runtest
46+ run : opam exec -- dune runtest --profile=release
You can’t perform that action at this time.
0 commit comments