···11+# This is a basic workflow to help you get started with Actions
22+33+name: CI
44+55+# Controls when the workflow will run
66+on:
77+ # Triggers the workflow on push or pull request events but only for the "main" branch
88+ push:
99+ branches: [ "project/unpac" ]
1010+ pull_request:
1111+ branches: [ "project/unpac" ]
1212+1313+ # Allows you to run this workflow manually from the Actions tab
1414+ workflow_dispatch:
1515+1616+# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1717+jobs:
1818+ # This workflow contains a single job called "build"
1919+ build:
2020+ # The type of runner that the job will run on
2121+ runs-on: ubuntu-latest
2222+2323+ # Steps represent a sequence of tasks that will be executed as part of the job
2424+ steps:
2525+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2626+ - uses: actions/checkout@v4
2727+2828+ - name: Set-up OCaml
2929+ uses: ocaml/setup-ocaml@v3
3030+ with:
3131+ ocaml-compiler: 5
3232+3333+ - name: Install dune
3434+ run: opam install -y dune
3535+3636+ - name: Build unpac
3737+ run: dune build