gitlab-ci: keep artifacts in rpm builds.

Change-Id: I7117c05a59b82bd925f82dfdfdda770fa507b7d4
Reviewed-on: https://code.wireshark.org/review/31575
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Tested-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
Dario Lombardo 2019-01-17 10:13:09 +01:00 committed by Peter Wu
parent 2c1d5b714a
commit 4d2a0878c4
1 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,11 @@
- apt-get update -qq
- mkdir build
- cd build
.rpm: &rpm
artifacts:
paths:
- build/packaging/rpm/RPMS
expire_in: 3 days
gcc-4:
<<: *ubuntu
script:
@ -73,6 +78,7 @@ clang-7-nopcap:
- cmake -GNinja -DENABLE_PCAP=OFF -DCMAKE_C_COMPILER=clang-7 -DCMAKE_CXX_COMPILER=clang++-7 -DCMAKE_C_FLAGS=-Wframe-larger-than=20000 ..
- ninja
rpm-centos-7:
<<: *rpm
image: centos:7
script:
- yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
@ -82,6 +88,7 @@ rpm-centos-7:
- cmake3 -GNinja ..
- ninja-build rpm-package
rpm-opensuse-42.3:
<<: *rpm
image: opensuse:42.3
script:
- zypper --non-interactive install update-desktop-files
@ -92,6 +99,7 @@ rpm-opensuse-42.3:
- cmake -GNinja ..
- ninja rpm-package
rpm-fedora-28:
<<: *rpm
image: fedora:28
script:
- dnf upgrade -y