🐎 ci(ci disable parallel make): build script

This commit is contained in:
yangwei
2024-11-28 15:33:30 +08:00
parent 574b8d3419
commit d468e6ca1d
2 changed files with 3 additions and 8 deletions

View File

@@ -44,7 +44,7 @@ stages:
-DASAN_OPTION=$ASAN_OPTION -DASAN_OPTION=$ASAN_OPTION
-DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX
.. ..
- make -j4 VERBOSE=1 - make -j4
############################################################################### ###############################################################################
# cppcheck # cppcheck
@@ -102,11 +102,6 @@ build:
BUILD_TYPE: "RelWithDebInfo" BUILD_TYPE: "RelWithDebInfo"
ASAN_OPTION: "OFF" ASAN_OPTION: "OFF"
script: *build_script script: *build_script
artifacts:
name: "artifacts-${CI_COMMIT_REF_NAME}-${TAG}-${BUILD_TYPE}"
paths:
- build/infra/*.rpm
when: on_success
############################################################################### ###############################################################################
# test # test
############################################################################### ###############################################################################
@@ -115,6 +110,7 @@ test:
parallel: parallel:
matrix: matrix:
- <<: *predefined_matrix_x86_64_el8 - <<: *predefined_matrix_x86_64_el8
ASAN_OPTION: "ADDRESS"
- <<: *predefined_matrix_aarch64_el9 - <<: *predefined_matrix_aarch64_el9
image: $BUILD_IMAGE image: $BUILD_IMAGE
tags: tags:
@@ -124,7 +120,6 @@ test:
before_script: *everything_before_script before_script: *everything_before_script
variables: variables:
BUILD_TYPE: "Debug" BUILD_TYPE: "Debug"
ASAN_OPTION: "ADDRESS"
script: script:
- *build_script - *build_script
- ctest -V - ctest -V

View File

@@ -2,4 +2,4 @@ add_executable(gtest_dablooms gtest_dablooms.cpp)
target_link_libraries(gtest_dablooms dablooms gtest) target_link_libraries(gtest_dablooms dablooms gtest)
include(GoogleTest) include(GoogleTest)
gtest_discover_tests(gtest_dablooms DISCOVERY_TIMEOUT 60) gtest_discover_tests(gtest_dablooms)