Skip to content
Snippets Groups Projects
Commit 75cd97f6 authored by Konstantin Pavlov's avatar Konstantin Pavlov
Browse files

CI: Added snap job

parent adefe573
No related branches found
No related tags found
No related merge requests found
Pipeline #14883 passed with stage
in 44 minutes and 23 seconds
......@@ -17,11 +17,16 @@ variables:
VLC_WIN_LLVM_IMAGE: registry.videolan.org/vlc-debian-llvm-mingw:20190621125349
VLC_DEBIAN_IMAGE: registry.videolan.org/vlc-debian-unstable:20191023134128
VLC_ANDROID_IMAGE: registry.videolan.org/vlc-debian-android:20190717134531
VLC_SNAP_IMAGE: registry.videolan.org/vlc-ubuntu-bionic:20190627090437
.variables-debian: &variables-debian
HOST_ARCH: x86_64
TRIPLET: $HOST_ARCH-linux-gnu
.variables-snap: &variables-snap
HOST_ARCH: x86_64
TRIPLET: $HOST_ARCH-linux-gnu
.variables-win32: &variables-win32
HOST_ARCH: i686
TRIPLET: $HOST_ARCH-w64-mingw32
......@@ -148,6 +153,21 @@ debian:
VLC_TEST_TIMEOUT=60 sh -x ./test/make_check_wrapper.sh -j4
variables: *variables-debian
#
# Snap builds
#
snap:
extends: .docker-template
image:
name: $VLC_SNAP_IMAGE
script: |
cd extras/package/snap
make -f package.mak snap
after_script:
- export VLC_CONTRIB_SHA="$(extras/ci/get-contrib-sha.sh)"
- mv extras/package/snap/parts/vlc/build/contrib/vlc-contrib-*.tar.bz2 contrib/vlc-contrib-${TRIPLET}-${VLC_CONTRIB_SHA}.tar.bz2 2>/dev/null || true
variables: *variables-snap
#
# macOS
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment