Buildbot:LXC: Difference between revisions

From Spring
Jump to navigationJump to search
Abma (talk | contribs)
No edit summary
Abma (talk | contribs)
Line 3: Line 3:
== Create containers ==
== Create containers ==
<pre>
<pre>
lxc-create -t download -n buildslave-x64 -- --dist ubuntu --release xenial --arch amd64
lxc launch ubuntu:x buildslave-x64
lxc-create -t download -n buildslave-x32 -- --dist ubuntu --release xenial --arch i386
linux32 lxc launch ubuntu:x buildslave-i686
</pre>
</pre>



Revision as of 15:47, 23 April 2018

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

Create containers

lxc launch ubuntu:x buildslave-x64
linux32 lxc launch ubuntu:x buildslave-i686

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