From 3712e581a3f16539162f658b2e87cc752425d254 Mon Sep 17 00:00:00 2001 From: rilesdun Date: Thu, 16 Dec 2021 15:57:10 -0400 Subject: [PATCH] Added 2nd build; upgraded build server and added -j(nproc) - Pipeline timing check --- .gitlab-ci.yml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 369dcf8a..4f0134a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ build: - mkdir build - cd build - cmake -DCMAKE_BUILD_TYPE=Release .. - - make -j4 + - make -j$(nproc) artifacts: untracked: true paths: @@ -29,6 +29,29 @@ build: tags: - builder +build-testnet: + stage: build + needs: [] + script: + - rm -rf .git/modules/docs .git/modules/libraries/fc ./docs ./libraries/fc + - git submodule sync + - git submodule update --init --recursive + - rm -rf build-testnet + - mkdir build-testnet + - cd build-testnet + - cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release -DBUILD_PEERPLAYS_TESTNET=1 + - make -j$(nproc) + + + artifacts: + untracked: true + paths: + - build-testnet/libraries/ + - build-testnet/programs/ + - build-testnet/tests/ + tags: + - builder + dockerize: stage: build variables: