forked from flathub/org.supertuxproject.SuperTux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
43 lines (39 loc) · 1.06 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
image: ubuntu:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- apt-get -qq update
- apt-get -qq -y install lsb-release
- lsb_release -a
- apt-get -qq -y install
clang-6.0
g++-8
cmake
build-essential
libc++-dev
libogg-dev
libvorbis-dev
libopenal-dev
libboost-all-dev
libsdl2-dev
libsdl2-image-dev
libsdl2-mixer-dev
libjsoncpp-dev
libpng-dev
libglew-dev
software-properties-common
build:flatpak:
stage: build
script:
- add-apt-repository -y ppa:alexlarsson/flatpak
- apt-get -qq update
- apt-get -qq -y install flatpak flatpak-builder
- flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- flatpak install -y flathub org.freedesktop.Platform//1.6 org.freedesktop.Sdk//1.6
- flatpak-builder --repo=supertux-repo/ supertux-build/ org.supertuxproject.SuperTux.json
- flatpak build-bundle supertux-repo/ supertux.flatpak org.supertuxproject.SuperTux
artifacts:
paths:
- supertux.flatpak
- supertux-repo
# EOF #