Buildbot:LXC: Difference between revisions
From Spring
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
<pre> | <pre> | ||
lxc launch ubuntu:x buildslave-x64 | lxc launch ubuntu:x buildslave-x64 | ||
lxc launch ubuntu:x/i386 buildslave- | lxc launch ubuntu:x/i386 buildslave-i386 | ||
</pre> | </pre> | ||
Revision as of 15:56, 23 April 2018
https://springrts.com/mantis/view.php?id=5294
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
sudo apt update
sudo apt install g++ make cmake p7zip-full ninja-build
sudo 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
sudo apt install freeglut3-dev
# required by spring, not actually used in DevIL
sudo apt install libgif-dev