Buildbot:LXC

From Spring
Revision as of 22:14, 23 April 2018 by Abma (talk | contribs)
Jump to navigationJump to search

https://springrts.com/mantis/view.php?id=5294

https://github.com/spring/spring-lxc

Create containers

lxc launch ubuntu:x buildslave-x64
lxc launch ubuntu:x/i386 buildslave-i386

Shell inside container

lxc exec buildslave-x64 /bin/bash

Install requirements

apt update
apt install g++ make cmake p7zip-full ninja-build
apt install libxmu-dev libxi-dev default-jre default-jdk \
         libcurl4-gnutls-dev libssl-dev libopenal-dev libvorbis-dev \
         libogg-dev libsdl2-dev libfreetype6-dev libfontconfig1-dev

# needed for building libILU.so in DevIL, which isn't really needed
apt install freeglut3-dev

# required by spring, not actually used in DevIL
apt install libgif-dev
git clone https://github.com/spring/spring
spring/tools/scripts/make_static_libs.sh