Added cd build into each build
This commit is contained in:
parent
b603a5c4ed
commit
3f449c53bc
1 changed files with 2 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ build:
|
||||||
stage: build
|
stage: build
|
||||||
needs: [code-checkout]
|
needs: [code-checkout]
|
||||||
script:
|
script:
|
||||||
|
- cd build
|
||||||
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
- make -j$(nproc)
|
- make -j$(nproc)
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
@ -37,6 +38,7 @@ build-testnet:
|
||||||
stage: build
|
stage: build
|
||||||
needs: [code-checkout]
|
needs: [code-checkout]
|
||||||
script:
|
script:
|
||||||
|
- cd build
|
||||||
- cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release -DBUILD_PEERPLAYS_TESTNET=1 ..
|
- cmake -DBOOST_ROOT="$BOOST_ROOT" -DCMAKE_BUILD_TYPE=Release -DBUILD_PEERPLAYS_TESTNET=1 ..
|
||||||
- make -j$(nproc)
|
- make -j$(nproc)
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue