From e2f2823b9169b8c50c9a4e52cbeee7a2da8c5e1d Mon Sep 17 00:00:00 2001 From: yangwei Date: Mon, 2 Sep 2024 15:19:50 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8E=20ci(test=20stage):=20disable=20ar?= =?UTF-8?q?tifacts,=20enable=20asan?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2518f8e..17c428b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -85,10 +85,6 @@ branch_build_release_for_rockylinux: variables: BUILD_TYPE: RelWithDebInfo extends: .build_by_travis_for_rockylinux - artifacts: - name: "stellar-branch-$CI_COMMIT_REF_NAME-release" - paths: - - build/* except: - /^develop-.*$/i - /^release-.*$/i @@ -112,10 +108,6 @@ develop_build_release_for_rockylinux: TESTING_VERSION_BUILD: 1 BUILD_TYPE: RelWithDebInfo #ASAN_OPTION: ADDRESS - artifacts: - name: "stellar-develop-$CI_COMMIT_REF_NAME-release" - paths: - - build/* only: - /^develop-.*$/i - /^release-.*$/i @@ -136,7 +128,7 @@ release_build_release_for_rockylinux: artifacts: name: "stellar-install-$CI_COMMIT_REF_NAME-release" paths: - - build/* + - build/infra/*.rpm only: - tags @@ -146,9 +138,13 @@ release_build_release_for_rockylinux: test_in_rockylinux: stage: test image: $BUILD_IMAGE_ROCKYLINUX + extends: .build_by_travis_for_rockylinux + variables: + BUILD_TYPE: Debug + ASAN_OPTION: ADDRESS allow_failure: false script: - - *everything_before_script + - ./ci/travis.sh - cd build; ctest -V dependencies: - branch_build_release_for_rockylinux