forked from osmocom/wireshark
GitLab CI: Copy over the build:ubuntu-dist job from master.
This commit is contained in:
parent
d09878a74b
commit
bab5339f3a
|
@ -66,6 +66,22 @@ clang-10: &clang-10
|
|||
CC: clang-10
|
||||
CXX: clang++-10
|
||||
|
||||
build:ubuntu-dist:
|
||||
extends: .build-ubuntu
|
||||
script:
|
||||
- perl ../tools/make-version.pl --set-release || ../perl make-version.pl --set-release
|
||||
- cmake -G Ninja $CMAKE_ARGS -DENABLE_CCACHE=ON ..
|
||||
- packaging/source/git-export-release.sh -d .
|
||||
- mv -v wireshark-*.tar.* "$CI_PROJECT_DIR"/
|
||||
after_script:
|
||||
# - ccache --max-size $( du --summarize --block-size=1M "$CI_PROJECT_DIR/build" | awk '{printf ("%dM", $1 * 1.5)}' )
|
||||
- for digest in sha256 rmd160 sha1 ; do openssl $digest wireshark-*.tar.* ; done
|
||||
# This will break if we produce multiple tarballs, which is arguably a good thing.
|
||||
- if [ -n "$AWS_ACCESS_KEY_ID" ] && [ -n "$AWS_SECRET_ACCESS_KEY" ] && [ -n "$S3_DESTINATION_DIST" ] ; then aws s3 cp wireshark-*.tar.* "$S3_DESTINATION_DIST/" ; fi
|
||||
artifacts:
|
||||
paths:
|
||||
- wireshark-*.tar.*
|
||||
|
||||
build:rpm-centos-7:
|
||||
<<: *build-rpm
|
||||
image: wireshark/wireshark-centos-7-dev
|
||||
|
|
Loading…
Reference in New Issue