Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cknitt committed Jul 2, 2024
0 parents commit d4b3a31
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
push:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: musl-tools
uses: awalsh128/[email protected]
with:
packages: musl-tools
version: v1

- name: Setup OCaml
uses: ocaml/[email protected]
with:
ocaml-compiler: ocaml.5.2.0,ocaml-option-static
allow-prerelease-opam: true
opam-pin: false

- name: Test compile
run: opam exec -- ocamlopt -ccopt -static a.ml

- name: Check output
run: file a.out
1 change: 1 addition & 0 deletions a.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
let () = print_endline "hello world"

0 comments on commit d4b3a31

Please sign in to comment.