From c7b228e0009f0f3dc99b71156750554978c2a37f Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Mon, 29 Apr 2024 08:13:23 +0200 Subject: [PATCH 1/2] gitlab-ci: add smoke test for fuzzers Our GitLab CI setup has a test gap where the fuzzers aren't exercised at all. Add a smoke test, similar to the one we have in GitHub Workflows. Signed-off-by: Patrick Steinhardt Signed-off-by: Junio C Hamano --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c0fa2fe90b..33d53b3ec7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -93,6 +93,15 @@ test:osx: - t/failed-test-artifacts when: on_failure +test:fuzz-smoke-tests: + image: ubuntu:latest + variables: + CC: clang + before_script: + - ./ci/install-docker-dependencies.sh + script: + - ./ci/run-build-and-minimal-fuzzers.sh + static-analysis: image: ubuntu:22.04 variables: From 672cf2c8701de3b0d8ab740768709f0b34b2a7aa Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Thu, 9 May 2024 10:25:27 +0200 Subject: [PATCH 2/2] gitlab-ci: fix installing dependencies for fuzz smoke tests There was a semantic merge conflict between 9cdeb34b96 (ci: merge scripts which install dependencies, 2024-04-12), which has merged "ci/install-docker-dependencies.sh" into "ci/install-dependencies.sh" and c7b228e000 (gitlab-ci: add smoke test for fuzzers, 2024-04-29), which has added a new fuzz smoke test job that makes use of the now-removed script. Adapt the job to instead use the new script to install dependencies. Signed-off-by: Patrick Steinhardt Signed-off-by: Junio C Hamano --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3836351d07..dfc3c88bec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -100,7 +100,7 @@ test:fuzz-smoke-tests: variables: CC: clang before_script: - - ./ci/install-docker-dependencies.sh + - ./ci/install-dependencies.sh script: - ./ci/run-build-and-minimal-fuzzers.sh