lama_byterun/.github/workflows/blank.yml
Kakadu a3d77ad095 [ci] Trying to add gcc multilib dependecies
Signed-off-by: Kakadu <Kakadu@pm.me>
2025-02-02 00:16:04 +03:00

45 lines
932 B
YAML

name: Main workflow
on:
pull_request:
push:
branches:
- "1.30"
- "1.40" # for future
- "1.50"
- "more-dune"
permissions: read-all
env:
OPAMCONFIRMLEVEL: unsafe-yes
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
ocaml-compiler:
- 4.14.2
runs-on: ${{ matrix.os }}
steps:
- name: Checkout tree
uses: actions/checkout@v4
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- run: gcc --version
- run: opam pin add Lama.dev . --no-action
- run: opam depext Lama.dev --yes --with-test
- run: opam install . --deps-only --with-test
- run: eval $(opam env)
- run: opam exec -- make install
- run: opam exec -- make regression