debugging docker build #3
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 in docker | |
on: | |
push: | |
branches: | |
- '1.30' | |
- 'i686-cross' | |
jobs: | |
build: | |
env: | |
#OCANREN_STATS: yes | |
# enabling stats required extra link library | |
OCANREN_DOCS: yes | |
OPAMROOT: /home/user/.opam | |
runs-on: ubuntu-24.04 | |
container: | |
image: kakadu18/ocaml:lama | |
options: --user user | |
steps: | |
- run: opam --version | |
- run: opam exec -- ocamlopt --version | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- run: | | |
opam install . --depext-only --with-test --with-doc | |
opam install . --deps-only --with-test --with-doc | |
- name: List installed packages | |
run: opam list | |
- run: opam exec -- dune build --profile=release | |
- run: opam exec -- dune test regression/ stdlib/regression |