Compile x86_32 via cross compiler #14
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' | |
env: | |
OPAMCONFIRMLEVEL: unsafe-yes | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
container: | |
image: kakadu18/ocaml:lama | |
#options: --user user | |
steps: | |
- run: opam --version | |
- run: opam init --disable-sandboxing -y | |
- 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 |