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

View File

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