aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 231ef3df7aeb8ba99e254c0b937f7ec3432535d3 (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
image: ubuntu:18.04

stages:
  - Linux-Build
  - Release

Build Linux Packages:
    stage: Linux-Build
    script:
        - cd browser/linux
        - apt-get install -y wget 
        - wget http://security.ubuntu.com/ubuntu/pool/main/b/bubblewrap/bubblewrap_0.2.1-1ubuntu0.1_amd64.deb
        - dpkg -i ./bubblewrap_0.2.1-1ubuntu0.1_amd64.deb
        - bwrap --dev-bind / / bash
        - ./build.sh
    artifacts:
        name: "Librewolf-$CI_COMMIT_REF_NAME-Linux-Packages"
        paths:
            - "LibreWolf.tar.bz2"
            - "LibreWolf.AppImage"
            - "librewolf-flatpak-repo"
            - "LibreWolf.flatpak"

Release to Gitlab:
  stage: Release
  image: python3
  script:
    - pip3 install gitlab-release
    - gitlab-release LibreWolf.tar.bz2 LibreWolf.AppImage librewolf-flatpak-repo LibreWolf.flatpak
  only:
    - tags
bgstack15