diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:15:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:15:52 +0000 |
commit | 864dec30a3971aa043dd47f99168c889a5107102 (patch) | |
tree | dd322ea42bd05d24614f2f22afc75bc49cbb0b34 /.gitlab-ci.yml | |
parent | Adding upstream version 4.2.5. (diff) | |
download | wireshark-upstream.tar.xz wireshark-upstream.zip |
Adding upstream version 4.2.6.upstream/4.2.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | .gitlab-ci.yml | 31 |
1 files changed, 7 insertions, 24 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 67a5e64..0567f7e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,7 @@ variables: GIT_FETCH_EXTRA_FLAGS: "--depth=5000" CCACHE_DIR: "${CI_PROJECT_DIR}/ccache" # Preferred version of clang available on wireshark-ubuntu-dev - CLANG_VERSION: "17" + CLANG_VERSION: "18" # Enable color output in various tools. # CMake, Ninja, and others: https://bixense.com/clicolors/ CLICOLOR_FORCE: "1" @@ -265,13 +265,8 @@ Source Package: - if [ "$CI_JOB_STATUS" != "success" ]; then exit 0 ; fi - stat --format="%n %s bytes" wireshark-*.tar.* - for digest in sha512 sha256 sha1 ; do openssl $digest wireshark-*.tar.* ; done - # This will break if we produce multiple tarballs, which is arguably a good thing. - - if [ -n "$S3_DESTINATION_DIST" ] ; then aws s3 cp wireshark-*.tar.* "$S3_DESTINATION_DIST/" ; fi - - | - if [ -n "$S3_DESTINATION_RELEASE" ] ; then - aws s3 cp release-notes-*.txt "$S3_DESTINATION_RELEASE/" - aws s3 cp release-notes-*.html "$S3_DESTINATION_RELEASE/" - fi + - if [ -n "$MC_DESTINATION_DIST" ] ; then mc --quiet cp wireshark-*.tar.* "$MC_DESTINATION_DIST/" ; fi + - if [ -n "$MC_DESTINATION_RELEASE" ] ; then mc --quiet cp release-notes-*.{txt,html} "$MC_DESTINATION_RELEASE/" ; fi artifacts: paths: - wireshark-*.tar.* @@ -313,7 +308,7 @@ Debian Stable APT Test: # Used for https://www.wireshark.org/docs/dfref/ - TSHARK_VERSION=$( tshark --version | head -n 1 | sed -e 's/.*(v//' -e 's/)\.*$//' -e 's/-0-g.*//' ) - tshark -G fields > dfilter-list-${TSHARK_VERSION}.txt - - if [[ -n "$S3_DESTINATION_RELEASE" ]] ; then aws s3 cp dfilter-list-${TSHARK_VERSION}.txt "$S3_DESTINATION_RELEASE/" ; fi + - if [[ -n "$MC_DESTINATION_RELEASE" ]] ; then mc --quiet cp dfilter-list-${TSHARK_VERSION}.txt "$MC_DESTINATION_RELEASE/" ; fi artifacts: paths: - dfilter-list-*.txt @@ -635,12 +630,7 @@ Documentation: - ninja all_guides - cd docbook - for HTML_DIR in ws[ud]g_html{,_chunked} ; do zip -9 -r "$HTML_DIR.zip" "$HTML_DIR" ; done - - | - if [ -n "$S3_DESTINATION_DOCS" ] ; then - for DOC_FILE in ws[ud]g_html{,_chunked}.zip Wireshark*Guide.{epub,pdf} ; do - aws s3 cp "$DOC_FILE" "$S3_DESTINATION_DOCS/" - done - fi + - if [ -n "$MC_DESTINATION_DOCS" ] ; then mc --quiet cp ws[ud]g_html{,_chunked}.zip Wireshark*Guide.{epub,pdf} "$MC_DESTINATION_DOCS/" ; fi - mv -v ws[ud]g_html{,_chunked}.zip Wireshark*Guide.{epub,pdf} ../.. after_script: - if [ "$CI_JOB_STATUS" != "success" ]; then exit 0 ; fi @@ -815,10 +805,7 @@ macOS Build: - ninja wsar_html_zip 2>&1 > doxygen_output.txt | tee doxygen_errors.txt - mv wsar_html.zip doxygen_{output,errors}.txt .. - cd .. - - | - if [ -n "$S3_DESTINATION_DOCS" ] ; then - aws s3 cp wsar_html.zip "$S3_DESTINATION_DOCS/" - fi + - if [ -n "$MC_DESTINATION_DOCS" ] ; then mc --quiet cp wsar_html.zip "$MC_DESTINATION_DOCS/" ; fi after_script: - if [ "$CI_JOB_STATUS" != "success" ]; then exit 0 ; fi artifacts: @@ -865,11 +852,7 @@ macOS Build: - FUZZ_ERRORS="/tmp/fuzz/$( basename "$FUZZ_CAPTURE" .pcap ).err" - printf "\nfuzz-test.sh stderr:\n" >> "$FUZZ_ERRORS" - cat fuzz-test.err >> "$FUZZ_ERRORS" - - | - if [ -n "$S3_DESTINATION_FUZZ" ] ; then - aws s3 cp "$FUZZ_CAPTURE" "$S3_DESTINATION_FUZZ/" - aws s3 cp "$FUZZ_ERRORS" "$S3_DESTINATION_FUZZ/" - fi + - if [ -n "$MC_DESTINATION_FUZZ" ] ; then mc --quiet cp "$FUZZ_CAPTURE" "$FUZZ_ERRORS" "$MC_DESTINATION_FUZZ/" ASan Menagerie Fuzz: extends: .fuzz-ubuntu |