From b726664be587f5a3e72f18faf4acee81f0887cae Mon Sep 17 00:00:00 2001 From: Peio Rigaux Date: Thu, 15 Nov 2018 14:36:14 +0100 Subject: [PATCH] gci : attempt to split the build & test procedure into 2 jobs --- .gitlab-ci.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4a43e88..a47a785 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,14 +1,20 @@ +image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-debian:9 +before_script: + - sudo apt-get install wget unzip +stages: + - build + - test job1: + stage: build tags: [ "docker" ] - image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-debian:9 - before_script: - - sudo apt-get install wget unzip script: - mkdir -p build-bcg729 - cd build-bcg729 - cmake .. -DENABLE_TESTS=YES - make + +job2: + stage: test + script: - cd test - - ./testCampaignAll - - + - ./testCampaignAll \ No newline at end of file