parent
4a1f197743
commit
afffb9e57d
5 changed files with 72 additions and 1 deletions
@ -0,0 +1,8 @@ |
||||
{ |
||||
"base_image": "ubuntu:bionic", |
||||
"env": { |
||||
"CI": "1", |
||||
"SKIP_SCIENTIFIC": "1", |
||||
"DC": "gdc" |
||||
} |
||||
} |
@ -0,0 +1,58 @@ |
||||
#!/bin/bash |
||||
|
||||
set -e |
||||
|
||||
export DEBIAN_FRONTEND=noninteractive |
||||
export LANG='C.UTF-8' |
||||
export DC=gdc |
||||
|
||||
pkgs=( |
||||
python3-pytest-xdist |
||||
python3-pip libxml2-dev libxslt1-dev libyaml-dev libjson-glib-dev |
||||
wget unzip cmake doxygen |
||||
clang |
||||
pkg-config-arm-linux-gnueabihf |
||||
qt4-linguist-tools qt5-default qtbase5-private-dev |
||||
python-dev |
||||
libomp-dev |
||||
ldc |
||||
libclang-dev |
||||
libgcrypt20-dev |
||||
libgpgme-dev |
||||
libhdf5-dev openssh-server |
||||
libboost-python-dev libboost-regex-dev |
||||
libblocksruntime-dev |
||||
libperl-dev libscalapack-mpi-dev libncurses-dev |
||||
) |
||||
|
||||
boost_pkgs=(atomic chrono date-time filesystem log regex serialization system test thread) |
||||
|
||||
sed -i '/^#\sdeb-src /s/^#//' "/etc/apt/sources.list" |
||||
apt-get -y update |
||||
apt-get -y upgrade |
||||
apt-get -y install eatmydata |
||||
|
||||
# Base stuff |
||||
eatmydata apt-get -y build-dep meson |
||||
|
||||
# Add boost packages |
||||
for i in "${boost_pkgs[@]}"; do |
||||
for j in "1.62.0" "1.65.1"; do |
||||
pkgs+=("libboost-${i}${j}") |
||||
done |
||||
done |
||||
|
||||
# packages |
||||
eatmydata apt-get -y install "${pkgs[@]}" |
||||
|
||||
eatmydata python3 -m pip install codecov jsonschema |
||||
|
||||
# Install the ninja 0.10 |
||||
wget https://github.com/ninja-build/ninja/releases/download/v1.10.0/ninja-linux.zip |
||||
unzip ninja-linux.zip -d /ci |
||||
|
||||
# cleanup |
||||
apt-get -y remove ninja-build |
||||
apt-get -y clean |
||||
apt-get -y autoclean |
||||
rm ninja-linux.zip |
Loading…
Reference in new issue