Commit 0a97f1be authored by Jeremiah Foster's avatar Jeremiah Foster
Browse files

Adding gitlab-ci.yml back in so that we can run in gitlab again.

parent 6b9b754b
Pipeline #10644 passed with stage
in 13 minutes and 38 seconds
variables:
DEB_VERSION: "0.1"
PUREOS_VERSION: "-1pureos1"
DEB_NAME: "flossy-gnu"
BUILD_NAME: "game"
GODOT_VERSION: "3.0.6"
GODOT_VARIANT: "stable"
purism:
stage: build
before_script:
- apt-get update -q
- 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}
- uname -a
script:
- 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
- strip --strip-unneeded --remove-section=.comment --remove-section=.note ./build/$DEB_NAME-$DEB_VERSION/$BUILD_NAME.x64
- cd ./build
- tar -vcJf ${DEB_NAME}_${DEB_VERSION}.orig.tar.xz $DEB_NAME-$DEB_VERSION
- cd ./$DEB_NAME-$DEB_VERSION
- cp -v -r ../../debian .
- fakeroot dpkg-buildpackage -F
- ls -la ..
artifacts:
name: $DEB_NAME-$DEB_VERSION-$PUREOS_VERSION-$CI_JOB_NAME
paths:
- ./build
tags:
- librem5
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