blob: fe9830d76d285c33cf2d8132a004cb142c538719 (
plain)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
image: ubuntu:18.04
variables:
BINARY_TARBALL: "$CI_PROJECT_DIR/LibreWolf.tar.bz2"
APPIMAGE_FILE: "$CI_PROJECT_DIR/LibreWolf.AppImage"
FLATPAK_REPO: "$CI_PROJECT_DIR/librewolf-flatpak-repo"
FLATPAK_BUNDLE: "$CI_PROJECT_DIR/LibreWolf.flatpak"
stages:
- Linux-Build
- Linux-Package
- Linux-Deploy
Build Linux Tarball:
stage: Linux-Build
tags:
- librewolf
script:
- $CI_PROJECT_DIR/linux/binary_tarball/build_tarball.sh $BINARY_TARBALL
artifacts:
name: "Librewolf-$CI_COMMIT_REF_NAME-Linux-Tarball"
paths:
- "$BINARY_TARBALL"
Build AppImage:
stage: Linux-Package
tags:
- gitlab-org
script:
- $CI_PROJECT_DIR/linux/appimage/build_appimage.sh $BINARY_TARBALL $APPIMAGE_FILE
artifacts:
name: "Librewolf-$CI_COMMIT_REF_NAME-Linux-Appimage"
paths:
- "$APPIMAGE_FILE"
Build Flatpak:
image: black0/flatpak
stage: Linux-Package
tags:
- gitlab-org
script:
- $CI_PROJECT_DIR/linux/flatpak/build_flatpak.sh $BINARY_TARBALL $FLATPAK_REPO $FLATPAK_BUNDLE
artifacts:
name: "Librewolf-$CI_COMMIT_REF_NAME-Linux-Flatpak"
paths:
- "$FLATPAK_REPO"
- "$FLATPAK_BUNDLE"
Release to Gitlab:
stage: Linux-Deploy
image: python3
script:
- pip3 install gitlab-release
- gitlab-release LibreWolf.tar.bz2 LibreWolf.AppImage librewolf-flatpak-repo LibreWolf.flatpak
only:
- tags
|