From: Daiki Ueno Date: Wed, 22 Jan 2025 06:15:49 +0000 (+0900) Subject: .gitlab-ci.yml: exercise --with-leancrypto X-Git-Tag: 3.8.9~3^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=489ad5e2ecbc0ac00c6069454dcbbd5e31cf2833;p=thirdparty%2Fgnutls.git .gitlab-ci.yml: exercise --with-leancrypto Signed-off-by: Daiki Ueno --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8248803618..04799f0f7e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -106,6 +106,13 @@ default: COMPILER: clang NETTLE_DIR: nettle +.fedora-leancrypto: + extends: + - .fedora + variables: + COMPILER: clang + LEANCRYPTO_DIR: leancrypto + .debian: image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_BUILD @@ -511,6 +518,52 @@ fedora-nettle-minigmp/test: - PKG_CONFIG_PATH=${PWD}/nettle-git/$NETTLE_DIR/lib64/pkgconfig LD_LIBRARY_PATH=${PWD}/nettle-git/$NETTLE_DIR/lib64 GNUTLS_TEST_TIMEOUT=600000 make -j$CHECKJOBS check timeout: 3h +fedora-leancrypto/build: + extends: + - .build + - .fedora-leancrypto + needs: + - fedora/bootstrap + script: + - git clone --depth 1 --branch master https://github.com/smuellerDD/leancrypto.git leancrypto-git + - pushd leancrypto-git + - rm -rf .git # for artifacts:untracked to work + - meson setup -Dprefix=${PWD}/$LEANCRYPTO_DIR -Ddefault_library=static + -Dascon=disabled -Dascon_keccak=disabled + -Dbike_5=disabled -Dbike_3=disabled -Dbike_1=disabled + -Dkyber_x25519=disabled -Ddilithium_ed25519=disabled + -Dx509_parser=disabled -Dx509_generator=disabled + -Dpkcs7_parser=disabled -Dpkcs7_generator=disabled + -Dsha2-256=disabled + -Dchacha20=disabled -Dchacha20_drng=disabled + -Ddrbg_hash=disabled -Ddrbg_hmac=disabled + -Dhash_crypt=disabled + -Dhmac=disabled -Dhkdf=disabled + -Dkdf_ctr=disabled -Dkdf_fb=disabled -Dkdf_dpi=disabled + -Dpbkdf2=disabled + -Dkmac_drng=disabled -Dcshake_drng=disabled + -Dhotp=disabled -Dtotp=disabled + -Daes_block=disabled -Daes_cbc=disabled -Daes_ctr=disabled + -Daes_kw=disabled -Dapps=disabled + _build + - meson compile -C _build + - meson install -C _build + - popd + - PKG_CONFIG_PATH=${PWD}/leancrypto-git/$LEANCRYPTO_DIR/lib64/pkgconfig dash ./configure --with-leancrypto --disable-doc --with-pkcs12-iter-count=10000 + - make -j$BUILDJOBS + - make -j$BUILDJOBS check TESTS="" + +fedora-leancrypto/test: + extends: + - .test + - .fedora-leancrypto + dependencies: + - fedora-leancrypto/build + needs: + - fedora-leancrypto/build + script: + - PKG_CONFIG_PATH=${PWD}/leancrypto-git/$LEANCRYPTO_DIR/lib64/pkgconfig make -j$CHECKJOBS check + fedora-threadsan/build: extends: - .build