53 lines
2.3 KiB
Text
53 lines
2.3 KiB
Text
* Create a global scons configuration to launch all build
|
|
* Build project with godot command line (perhaps with scons)
|
|
* Disable login button when we have launch a login (or show other dialog with message wait [buton cancel if we want abort login])
|
|
* Execute next step - UDP module to communicate with khaganat
|
|
* Configuration panel to define all connexion parameter
|
|
* Path : check version and patch all file (we need generate path file for godot and method to reload data)
|
|
|
|
|
|
|
|
#####################
|
|
# Debug CI
|
|
#####################
|
|
|
|
https://github.com/aBARICHELLO/godot-ci/blob/master/Dockerfile
|
|
https://github.com/aBARICHELLO/godot-ci/blob/master/.gitlab-ci.yml
|
|
|
|
https://github.com/h4de5/docker-godot-3-build-and-run/blob/master/Dockerfile
|
|
|
|
|
|
docker run -it -v ~/Projets/khanat/temp/build:/build amd64/debian:10 /bin/bash
|
|
|
|
docker run -it -v ~/Projets/khanat/temp/build2:/build amd64/debian:10 /bin/bash
|
|
|
|
gitlab-runner exec docker --timeout=3600 --docker-volumes $HOME/Projets/khanat/temp/build2:/builds 'Build Client Linux 64'
|
|
|
|
|
|
apt-get install build-essential scons pkg-config libx11-dev libxcursor-dev libxinerama-dev \
|
|
libgl1-mesa-dev libglu-dev libasound2-dev libpulse-dev libfreetype6-dev libudev-dev libxi-dev \
|
|
libxrandr-dev yasm
|
|
|
|
git clone https://github.com/godotengine/godot.git
|
|
scons -j8 platform=x11 tools=no target=release bits=64
|
|
scons -j8 platform=x11 tools=yes target=release bits=64
|
|
scons -j8 platform=server tools=no target=release bits=64
|
|
scons -j8 platform=server tools=yes target=release bits=64
|
|
|
|
(cd /build/0/godot/; scons -j8 platform=server tools=yes target=debug bits=64)
|
|
/build/0/godot/bin/godot_server.x11.tools.64 -v --path /build/0/project-0 --export khaganat.linux.64 khaganat.linux64.bin
|
|
|
|
|
|
apt-get install lxde x11vnc
|
|
apt-get install x11vnc mesa-utils libgl1-mesa-dri
|
|
apt-get install -y xvfb libxcursor1 libxinerama1 libxrandr2 libxi6 libasound2 libpulse0 libgl1 mesa-utils libgl1-mesa-dri libasound2 libasound2-plugins alsa-utils alsa-oss pulseaudio pulseaudio-utils
|
|
|
|
xvfb-run -a -n 99 --server-args="-screen 0 1024x768x24"
|
|
|
|
xvfb
|
|
pulseaudio -D
|
|
|
|
xvfb-run -a -n 99 --server-args="-ac -screen 0 1024x768x24" /build/0/godot/bin/godot.x11.opt.64 -v --path . --export khaganat.linux.64 khaganat.linux64.bin
|
|
|
|
xvfb-run -a -n 99 --server-args="-ac -screen 0 1024x768x24" /usr/local/bin/godot --quit -v --path . --export khaganat.linux.64 khaganat.linux64.bin
|
|
|