]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
ci: Add config.log as artifact for cross builds, and minor cleanup.
authorNiels Möller <nisse@lysator.liu.se>
Fri, 6 Oct 2023 07:48:01 +0000 (09:48 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Fri, 6 Oct 2023 07:48:01 +0000 (09:48 +0200)
.gitlab-ci.yml

index ab4e039466c74474a8b63f60465314f1b18fa3cd..5e86d8d486115e0b2fdaf4c9d68c0bf2dd8842b1 100644 (file)
@@ -168,7 +168,7 @@ remote/s390x:
   except:
   - tags
 
-.cross-build: &cross-build
+.cross-build:
   image: $CI_REGISTRY/$BUILDENV_CROSS_IMAGE
   script:
   - build=$(dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -183,13 +183,20 @@ remote/s390x:
   - ./.bootstrap
   - ./configure --disable-documentation $EXTRA_CONFIGURE_ARGS --build=$build --host=$host
   - make -j$(nproc)
-  - NETTLE_TEST_SEED=0 make EMULATOR=${EMULATOR} -j$(nproc) check
-  - NETTLE_TEST_SEED=0 make EMULATOR=${EMULATOR} -j$(nproc) check-fat
+  - make EMULATOR=${EMULATOR} -j$(nproc) check
+  - make EMULATOR=${EMULATOR} -j$(nproc) check-fat
   tags:
   - shared
   - linux
   except:
   - tags
+  variables:
+    NETTLE_TEST_SEED: '0'
+  artifacts:
+    expire_in: 1 week
+    when: always
+    paths:
+    - "config.log"
 
 cross/arm-linux-gnueabihf:
   extends: .cross-build