44 docker :
55 - image : ubuntu:24.04
66 steps :
7+ - checkout
78 - run :
89 name : Install dependencies
910 command : |
1011 dpkg --add-architecture i386
1112 apt update
1213 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt install -y \
13- build-essential libbsd-dev libelf-dev libdw-dev binutils-dev zlib1g-dev \
14- autoconf automake libtool pkg-config autoconf-archive \
15- g++-10 gcc-10 lib32gcc-10-dev \
16- ocaml ocamlbuild ocaml-findlib libnum-ocaml-dev \
17- default-jdk-headless python3 \
18- make git gawk gdb wget libc6-dbg \
19- libunwind-dev libunwind-dev:i386 linux-libc-dev-i386-cross libc6-dev-i386 \
20- libboost-iostreams-dev libboost-regex-dev \
21- libboost-serialization-dev libboost-filesystem-dev libffi-dev \
22- gettext-base # for envsubst
23- cd /usr/bin && ln -sf gcc-10 gcc
24- cd /usr/bin && ln -sf g++-10 g++
14+ $(cat .circleci/build-dependencies.txt)
2515 - run :
26- name : Report OCaml version for debugging
16+ name : Report compiler versions
2717 command : |
18+ gcc --version
19+ g++ --version
2820 dpkg -l | grep ocaml
29- - checkout
3021 - run :
3122 name : Update submodules
3223 command : git submodule update --init --recursive
4031 ./autogen.sh
4132 ./configure
4233 make -j 2
43- # - run: # now our glibc is built with DWARF 5, so don't do this
44- # name: Create liballocs metadata
45- # no_output_timeout: 25m
46- # command: |
47- # mkdir -p /usr/lib/meta && \
48- # make -f tools/Makefile.meta \
49- # $(for libname in `ldd /bin/true | sed -En '/[[:blank:]]*([^[:blank:]]* => )?(.*) \(0x[0-9a-f]+\)/ {s//\2/;p}' | egrep 'libc\.so\.6|ld-linux.*\.so' | xargs readlink -f`; do echo "/usr/lib/meta${libname}-meta.so"; done)
5034 - persist_to_workspace :
5135 root : /
5236 paths : root/project usr/lib/meta
@@ -56,22 +40,13 @@ jobs:
5640 docker :
5741 - image : ubuntu:24.04
5842 steps :
43+ - checkout
5944 - run :
6045 name : Install dependencies
61- # We use 'clang' for some tests, so need that
6246 command : |
6347 apt update
6448 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt install -y \
65- ca-certificates make build-essential g++-10 autoconf automake libtool \
66- libelf-dev python3 git gawk libunwind-dev \
67- ocaml ocamlbuild ocaml-findlib \
68- clang \
69- libdw-dev binutils-dev libffi-dev \
70- libboost-iostreams-dev libboost-regex-dev \
71- libboost-serialization-dev libboost-filesystem-dev \
72- pkg-config libglib2.0-dev # <-- for 'simple-multi-alloc' test case only
73- cd /usr/bin && ln -sf gcc-10 gcc
74- cd /usr/bin && ln -sf g++-10 g++
49+ $(cat root/project/.circleci/test-dependencies.txt)
7550 - attach_workspace :
7651 at : /
7752 - run :
0 commit comments