Skip to content

Commit 7e8208b

Browse files
ejgallegohhugo
authored andcommitted
[ci] Add 32bit job for 4.14.2
1 parent 4cf14ca commit 7e8208b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ jobs:
3737
skip-effects: true
3838
skip-test: false
3939
skip-doc: true
40+
- os: ubuntu-latest
41+
ocaml-compiler: "ocaml-variants.4.14.2+options,ocaml-option-32bit"
42+
skip-effects: true
43+
skip-test: false
44+
skip-doc: true
4045
- os: macos-latest
4146
ocaml-compiler: "4.14"
4247
skip-effects: true
@@ -73,6 +78,19 @@ jobs:
7378
git config --global core.eol lf
7479
git config --global core.ignorecase false
7580
81+
# EJGA: Note that I tried to fix this upstream as depext is
82+
# getting much better, but no luck yet, c.f:
83+
# https://github.com/ocaml/opam-repository/pull/26626
84+
- name: Install apt 32-bit dependencies
85+
if: matrix.ocaml-compiler == 'ocaml-variants.4.14.2+options,ocaml-option-32bit'
86+
run: |
87+
sudo apt-get install aptitude
88+
sudo dpkg --add-architecture i386
89+
sudo aptitude -o Acquire::Retries=30 update -q
90+
# Note we also install the 64-bit versions here as opam will
91+
# try to install them anyways, so we save an apt-roundtrip.
92+
sudo aptitude -o Acquire::Retries=30 install gcc-multilib g++-multilib pkg-config libgmp-dev libgmp-dev:i386 libx11-dev:i386 -y
93+
7694
- name: Checkout tree
7795
uses: actions/checkout@v4
7896

0 commit comments

Comments
 (0)