Skip to content

Commit

Permalink
[ci] Add 32bit job for 4.14.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ejgallego committed Sep 30, 2024
1 parent 4cf14ca commit f9d03fc
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
skip-effects: true
skip-test: false
skip-doc: true
- os: ubuntu-latest
ocaml-compiler: "ocaml-variants.4.14.2+options,ocaml-option-32bit"
skip-effects: true
skip-test: false
skip-doc: true
- os: macos-latest
ocaml-compiler: "4.14"
skip-effects: true
Expand Down Expand Up @@ -73,6 +78,19 @@ jobs:
git config --global core.eol lf
git config --global core.ignorecase false
# EJGA: Note that I tried to fix this upstream as depext is
# getting much better, but no luck yet, c.f:
# https://github.com/ocaml/opam-repository/pull/26626
- name: Install apt 32-bit dependencies
if: ${{ matrix.ocaml-compiler = "ocaml-variants.4.14.2+options,ocaml-option-32bit" }}
run: |
sudo apt-get install aptitude
sudo dpkg --add-architecture i386
sudo aptitude -o Acquire::Retries=30 update -q
# Note we also install the 64-bit versions here as opam will
# try to install them anyways, so we save an apt-roundtrip.
sudo aptitude -o Acquire::Retries=30 install gcc-multilib g++-multilib pkg-config libgmp-dev libgmp-dev:i386 libx11-dev:i386 -y
- name: Checkout tree
uses: actions/checkout@v4

Expand Down

0 comments on commit f9d03fc

Please sign in to comment.