Added 2nd build; upgraded build server and added -j(nproc) - Pipeline timing check

This commit is contained in:
rilesdun 2021-12-16 15:57:10 -04:00
parent 2b002e1572
commit 3712e581a3

View file

@ -19,7 +19,7 @@ build:
- mkdir build - mkdir build
- cd build - cd build
- cmake -DCMAKE_BUILD_TYPE=Release .. - cmake -DCMAKE_BUILD_TYPE=Release ..
- make -j4 - make -j$(nproc)
artifacts: artifacts:
untracked: true untracked: true
paths: paths:
@ -29,6 +29,29 @@ build:
tags: tags:
- builder - 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: dockerize:
stage: build stage: build
variables: variables: