From 17a3789ad8e44b6e97f0fd8bfcd1ef72a3055da6 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Wed, 2 Jun 2021 12:48:56 -0700 Subject: GitLab CI: Move dfilter list generation. Create the display filter list in the APT Test step. --- .gitlab-ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6aeb4f4e2a..89c61e5aa2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -87,7 +87,7 @@ variables: - cd build script: # setcap restricts our library paths - - CFLAGS=-Wl,-rpath=$(pwd)/run CXXFLAGS=-Wl,-rpath=$(pwd)/run cmake -GNinja $CMAKE_ARGS .. + - CFLAGS=-Wl,-rpath=$(pwd)/run CXXFLAGS=-Wl,-rpath=$(pwd)/run cmake -GNinja -DENABLE_CCACHE=ON .. - ninja - ninja test-programs - chown -R user . @@ -116,11 +116,6 @@ Clang 10: variables: CC: "clang-$CLANG_VERSION" CXX: "clang++-$CLANG_VERSION" - after_script: - - build/run/tshark -G fields > dfilter-list-$( git describe --match "v*" | sed -e 's/^v//' ).txt - artifacts: - paths: - - dfilter-list-*.txt Source Package: extends: .build-ubuntu @@ -213,6 +208,13 @@ Debian Stable APT Test: script: - DEBIAN_FRONTEND=noninteractive apt-get install ./debian-packages/*.deb -y - tshark --version + after_script: + # Used for https://www.wireshark.org/docs/dfref/ + - TSHARK_VERSION=$( tshark --version | head -n 1 | sed -e 's/.*(v//' -e 's/)$//' ) + - tshark -G fields > dfilter-list-${TSHARK_VERSION}.txt + artifacts: + paths: + - dfilter-list-*.txt variables: GIT_STRATEGY: none dependencies: [ 'Debian Stable APT Package' ] -- cgit v1.2.3