Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Purism
Flossy Gnu
Commits
0a97f1be
Commit
0a97f1be
authored
May 10, 2019
by
Jeremiah Foster
⚡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
.gitlab-ci.yml
.gitlab-ci.yml
+34
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
0a97f1be
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment