We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
0 parents commit e2f93bdCopy full SHA for e2f93bd
.github/workflows/ci.yml
@@ -0,0 +1,33 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
7
+jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v4
14
15
+ - name: musl-tools
16
+ uses: awalsh128/[email protected]
17
+ with:
18
+ packages: bubblewrap darcs g++-multilib gcc-multilib mercurial musl-tools rsync
19
+ version: v2
20
21
+ - name: Setup OCaml
22
+ uses: ocaml/[email protected]
23
24
+ # ocaml-compiler: ocaml.5.2.0,ocaml-option-static
25
+ ocaml-compiler: 5.2.0
26
+ allow-prerelease-opam: true
27
+ opam-pin: false
28
29
+ - name: Test compile
30
+ run: opam exec -- ocamlopt -ccopt -static a.ml
31
32
+ - name: Check output
33
+ run: file a.out
a.ml
@@ -0,0 +1 @@
+let () = print_endline "hello world"
0 commit comments