We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c83d14 commit c1b6299Copy full SHA for c1b6299
.github/workflows/test.yml
@@ -0,0 +1,41 @@
1
+name: Tests
2
+
3
+on:
4
+ push:
5
+ branches: [master]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-24.04
12
13
+ steps:
14
+ - uses: actions/checkout@v4
15
16
+ - name: Install LLVM 19
17
+ run: |
18
+ wget https://apt.llvm.org/llvm.sh
19
+ chmod +x llvm.sh
20
+ sudo ./llvm.sh 19
21
+ sudo apt-get install -y llvm-19-dev
22
+ echo "/usr/lib/llvm-19/bin" >> $GITHUB_PATH
23
24
+ - name: Setup OCaml
25
+ uses: ocaml/setup-ocaml@v3
26
+ with:
27
+ ocaml-compiler: "5.2.x"
28
29
+ - name: Install dependencies
30
31
+ opam install -y llvm ocamlbuild ocamlfind
32
33
+ - name: Build
34
35
+ eval $(opam env)
36
+ make
37
38
+ - name: Run tests
39
40
41
+ make test
0 commit comments