-
Notifications
You must be signed in to change notification settings - Fork 312
/
setup-ci.sh
executable file
·52 lines (45 loc) · 995 Bytes
/
setup-ci.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash
set -exuo pipefail
# NB this is run from the steps in (private) https://github.com/compiler-explorer/ce-ci
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${DIR}"
env EXTRA_NFS_ARGS="" "${DIR}/setup-common.sh" ci
add-apt-repository -y ppa:ubuntu-toolchain-r/test
apt-get -y install \
software-properties-common \
git \
gcc-11 \
g++-11 \
file \
build-essential \
binutils-multiarch \
bison \
texinfo \
flex \
gawk \
pkg-config \
bzip2 \
unzip \
curl \
wget \
openssh-client \
autoconf \
make \
cmake \
ninja-build \
elfutils \
python3-pip \
python3.9-venv \
python3.9 \
xz-utils \
linux-libc-dev \
libelf-dev \
libgmp3-dev \
libunwind-dev \
libzstd-dev \
libdw-dev \
libboost-all-dev \
zlib1g-dev
ln -s /efs/squash-images /opt/squash-images
ln -s /efs/compiler-explorer /opt/compiler-explorer
ln -s /efs/wine-stable /opt/wine-stable