]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use Fedora image for GCC ASAN and TSAN CI jobs
authorMichal Nowak <mnowak@isc.org>
Thu, 18 Feb 2021 15:19:57 +0000 (16:19 +0100)
committerMichal Nowak <mnowak@isc.org>
Fri, 22 Oct 2021 10:50:43 +0000 (12:50 +0200)
For the sake of running ASAN and TSAN jobs with the latest stable GCC,
replace "base image" (Debian Buster with GCC 8.3.0) with Fedora 34 image
with GCC 11.

.gitlab-ci.yml

index 00235e4ddfac0a0f5cf52f9c22776afb1faf99b0..efda8278ecb1fa5494a1992dd5296ff03090d6b7 100644 (file)
@@ -928,13 +928,13 @@ gcc:asan:
     CFLAGS: "${CFLAGS_COMMON} -fsanitize=address,undefined"
     LDFLAGS: "-fsanitize=address,undefined"
     EXTRA_CONFIGURE: "--with-libidn2 --without-jemalloc"
-  <<: *base_image
+  <<: *fedora_34_amd64_image
   <<: *build_job
 
 system:gcc:asan:
   variables:
     ASAN_OPTIONS: ${ASAN_OPTIONS_COMMON}
-  <<: *base_image
+  <<: *fedora_34_amd64_image
   <<: *system_test_job
   needs:
     - job: gcc:asan
@@ -943,7 +943,7 @@ system:gcc:asan:
 unit:gcc:asan:
   variables:
     ASAN_OPTIONS: ${ASAN_OPTIONS_COMMON}
-  <<: *base_image
+  <<: *fedora_34_amd64_image
   <<: *unit_test_job
   needs:
     - job: gcc:asan
@@ -979,18 +979,18 @@ unit:clang:asan:
 # Jobs for TSAN builds on Debian 10 "buster" (amd64)
 
 gcc:tsan:
-  <<: *base_image
-  <<: *build_job
   variables:
     CC: gcc
     CFLAGS: "${CFLAGS_COMMON} -fsanitize=thread"
     LDFLAGS: "-fsanitize=thread"
     EXTRA_CONFIGURE: "--with-libidn2 --enable-pthread-rwlock --without-jemalloc"
+  <<: *fedora_34_amd64_image
+  <<: *build_job
 
 system:gcc:tsan:
   variables:
     TSAN_OPTIONS: ${TSAN_OPTIONS_COMMON}
-  <<: *base_image
+  <<: *fedora_34_amd64_image
   <<: *system_test_tsan_job
   needs:
     - job: gcc:tsan
@@ -999,7 +999,7 @@ system:gcc:tsan:
 unit:gcc:tsan:
   variables:
     TSAN_OPTIONS: ${TSAN_OPTIONS_COMMON} suppressions=$CI_PROJECT_DIR/tsan-suppressions.txt
-  <<: *base_image
+  <<: *fedora_34_amd64_image
   <<: *unit_test_tsan_job
   needs:
     - job: gcc:tsan