You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
source /ci/common.sh
|
|
|
|
|
|
|
|
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
|
|
|
|
python3-lxml
|
|
|
|
wget unzip
|
|
|
|
qt5-default clang
|
|
|
|
pkg-config-arm-linux-gnueabihf
|
|
|
|
qt4-linguist-tools
|
|
|
|
python-dev
|
|
|
|
libomp-dev
|
|
|
|
llvm lcov
|
|
|
|
dub ldc
|
|
|
|
mingw-w64 mingw-w64-tools nim
|
|
|
|
libclang-dev
|
|
|
|
libgcrypt20-dev
|
|
|
|
libgpgme-dev
|
|
|
|
libhdf5-dev
|
|
|
|
libboost-python-dev libboost-regex-dev
|
|
|
|
libblocksruntime-dev
|
|
|
|
libperl-dev
|
|
|
|
liblapack-dev libscalapack-mpi-dev
|
|
|
|
)
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
# packages
|
|
|
|
eatmydata apt-get -y install "${pkgs[@]}"
|
|
|
|
eatmydata apt-get -y install --no-install-recommends wine-stable # Wine is special
|
|
|
|
|
|
|
|
eatmydata python3 -m pip install hotdoc codecov gcovr jsonschema
|
|
|
|
|
|
|
|
# dub stuff
|
|
|
|
dub_fetch urld
|
|
|
|
dub build urld --compiler=gdc
|
|
|
|
dub_fetch dubtestproject
|
|
|
|
dub build dubtestproject:test1 --compiler=ldc2
|
|
|
|
dub build dubtestproject:test2 --compiler=ldc2
|
|
|
|
|
|
|
|
# cleanup
|
|
|
|
apt-get -y clean
|
|
|
|
apt-get -y autoclean
|