foxgirl-linux/.gitlab-ci.yml
2019-07-23 22:53:46 -05:00

31 lines
816 B
YAML

image: ubuntu:18.04
stages:
- Linux-Build
- Release
Build Linux Packages:
stage: Linux-Build
script:
- cd browser/linux
- 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