From ba22c611f6483eb3b15c272a3e25b3fdf69609e3 Mon Sep 17 00:00:00 2001 From: Roshan Syed Date: Wed, 4 Sep 2019 13:55:38 -0300 Subject: [PATCH] Updated gitlab process --- .gitlab-ci.yml | 37 ++++++------------------------------- 1 file changed, 6 insertions(+), 31 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a9b8554c..c8354d75 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,36 +1,11 @@ stages: - - pull - build - - test - -before_script: - - cd /var/www/Projects/595.peerplays/blockchain - -pulljob: - stage: pull - script: - - git pull origin master - only: - - master - tags: - - pp-dev - -buildjob: + +build: stage: build script: + - git submodule update --init --recursive - cmake . - - make - only: - - master - tags: - - pp-dev - -testjob: - stage: test - script: - - ./tests/chain_test - - ./tests/tournament_test - only: - - master - tags: - - pp-dev \ No newline at end of file + - make -j$(nproc) + tags: + - builder