add codeowners #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build develop workflow | |
on: | |
pull_request: | |
types: [closed] | |
branches: ['develop','main'] | |
workflow_dispatch: | |
inputs: | |
BASELINE: | |
description: 'Baseline branch' | |
required: true | |
default: 'main' | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
ocaml-compiler: | |
- 5.2.1 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Use OCaml ${{ matrix.ocaml-compiler }} | |
uses: ocaml/setup-ocaml@v3 | |
with: | |
ocaml-compiler: ${{ matrix.ocaml-compiler }} | |
- run: opam install . --deps-only --with-doc --with-test | |
- name: Install dune | |
run: | | |
opam install dune | |
eval $(opam env) | |
dune --version | |
- name: Build AnMetriGal | |
run: | | |
eval $(opam env) | |
cd src | |
dune --version | |
dune build _build/default/anmetrigal.exe --verbose | |
- name: Upload the build artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: anmetrigal.exe | |
path: src/_build/default/anmetrigal.exe |