Skip to content

ci: use nix

ci: use nix #4

Workflow file for this run

name: Build with opam
on:
push:
paths: [ '*.opam' ]
pull_request:
paths: [ '*.opam' ]
workflow_dispatch:
# only run one instance of this action at a time.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 4.09
- run: opam install . --deps-only --with-test
- run: dune build --profile release