Buildbot:LXC: Difference between revisions
From Spring
Jump to navigationJump to search
No edit summary |
|||
| Line 15: | Line 15: | ||
<pre> | <pre> | ||
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 \ | libcurl4-gnutls-dev libssl-dev libopenal-dev libvorbis-dev \ | ||
libogg-dev libsdl2-dev libfreetype6-dev libfontconfig1-dev | libogg-dev libsdl2-dev libfreetype6-dev libfontconfig1-dev | ||
# needed for building libILU.so in DevIL, which isn't really needed | # needed for building libILU.so in DevIL, which isn't really needed | ||
apt install freeglut3-dev | |||
# required by spring, not actually used in DevIL | # required by spring, not actually used in DevIL | ||
apt install libgif-dev | |||
</pre> | |||
<pre> | |||
git clone https://github.com/spring/spring | |||
spring/tools/scripts/make_static_libs.sh | |||
</pre> | </pre> | ||
[[Category:Buildbot]] | [[Category:Buildbot]] | ||
Revision as of 16:49, 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
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