Commit 6f4692b9 authored by Razvan Radulescu's avatar Razvan Radulescu

try CI script with godot3-server & offline templates

parent 104785f3
Pipeline #10364 failed with stage
in 47 seconds
......@@ -9,20 +9,11 @@ purism:
stage: build
before_script:
- apt-get update -q
- apt-get install -yq wget unzip fakeroot debhelper
- mkdir -v -p ./downloads ./build/$DEB_NAME-$DEB_VERSION
- mkdir -v -p ~/.local/share/godot/templates ~/.cache ~/.config/godot
- cd ./downloads
- wget "http://download.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-${GODOT_VARIANT}_linux_headless.64.zip"
- wget "http://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-${GODOT_VARIANT}_export_templates.tpz"
- unzip Godot_v*_linux_headless.64.zip
- unzip Godot_v*_export_templates.tpz
- mv -v Godot_v*_linux_headless.64 /bin/godot
- mv -v templates ~/.local/share/godot/templates/${GODOT_VERSION}.${GODOT_VARIANT}
- cd ..
- rm -rf ./downloads
- apt-get install -yq wget unzip fakeroot debhelper godot3-server
- mkdir -v -p ./build/$DEB_NAME-$DEB_VERSION ~/.local/share/godot/templates ~/.cache ~/.config/godot
- mv -v ./Godot_v*_export_templates/templates ~/.local/share/godot/templates/${GODOT_VERSION}.${GODOT_VARIANT}
script:
- godot -v -q --path ./$BUILD_NAME --export "Linux/X11" ../build/$DEB_NAME-$DEB_VERSION/$BUILD_NAME.x64
- godot3-server -v -q --path ./$BUILD_NAME --export "Linux/X11" ../build/$DEB_NAME-$DEB_VERSION/$BUILD_NAME.x64
- mv -v ./debian/*.desktop ./build/$DEB_NAME-$DEB_VERSION
- cp -v ./$BUILD_NAME/icon.png ./build/$DEB_NAME-$DEB_VERSION
- ls -la ./build/$DEB_NAME-$DEB_VERSION
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment