gitlab-ci: Add Ubuntu 32bit build
authorAndreas Schneider <asn@samba.org>
Thu, 22 Jun 2023 16:30:52 +0000 (18:30 +0200)
committerAndreas Schneider <asn@samba.org>
Thu, 29 Jun 2023 09:22:38 +0000 (11:22 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
.gitlab-ci.yml

index ef98aebf62c68bb61e169daee06e405f33cc1583..36431675170a33a442d2fd31a6adf94345624038 100644 (file)
@@ -6,6 +6,7 @@ variables:
   TUMBLEWEED_BUILD: buildenv-tumbleweed
   MINGW_BUILD: buildenv-mingw
   UBUNTU_BUILD: buildenv-ubuntu
+  UBUNTU32_BUILD: buildenv-ubuntu32
 
 stages:
   - build
@@ -307,3 +308,22 @@ ubuntu/x86_64:
     when: on_failure
     paths:
       - obj/
+
+ubuntu/x86:
+  stage: test
+  image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$UBUNTU32_BUILD
+  script:
+    - mkdir -p obj && cd obj && cmake
+      -DCMAKE_BUILD_TYPE=RelWithDebInfo
+      -DPICKY_DEVELOPER=ON
+      -DUNIT_TESTING=ON .. &&
+      make -j$(nproc) && ctest --output-on-failure
+  tags:
+    - shared
+  except:
+    - tags
+  artifacts:
+    expire_in: 1 week
+    when: on_failure
+    paths:
+      - obj/