From 97fbd08f81fc41974bf2c7cc9a66bd402fa8facf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Thu, 22 Oct 2020 15:03:31 +0200 Subject: [PATCH] Test a --disable-atomic build in GitLab CI Extend GitLab CI with build and test jobs utilizing the --disable-atomic configure switch as it is used to work around broken atomics support in certain build toolchains. --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 57fe47e100..b1c1f4f962 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1019,6 +1019,29 @@ unit:gcc:mutexatomics: - job: gcc:mutexatomics artifacts: true +# Jobs for builds without atomics + +gcc:noatomics: + variables: + CC: gcc + EXTRA_CONFIGURE: "--disable-atomic" + <<: *base_image + <<: *build_job + +system:gcc:noatomics: + <<: *base_image + <<: *system_test_job + needs: + - job: gcc:noatomics + artifacts: true + +unit:gcc:noatomics: + <<: *base_image + <<: *unit_test_job + needs: + - job: gcc:noatomics + artifacts: true + # Jobs for Clang builds on Debian Buster (amd64) clang:buster:amd64: