Skip to content

Initial commit

Initial commit #10

Workflow file for this run

name: CI
on:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache apt packages for setup-ocaml
uses: awalsh128/[email protected]
with:
packages: bubblewrap darcs g++-multilib gcc-multilib mercurial musl-tools rsync
version: v2
- name: Setup OCaml
uses: ocaml/[email protected]
with:
# ocaml-compiler: ocaml.5.2.0,ocaml-option-static
ocaml-compiler: 5.2.0
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
- name: Run output
run: ./a.out