From a43b730b53c920005f9cc8008286182f58bed454 Mon Sep 17 00:00:00 2001 From: lukas Date: Fri, 8 May 2020 17:17:20 +0200 Subject: [PATCH] multistaging ci --- .gitlab-ci.yml | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b284930..97af0a0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,21 +1,41 @@ image: luki42/dynuiprefresher_build:latest stages: + - cmake - build + - build_package + - test +cmake: + stage: cmake + script: + - cmake -S . -B build build: stage: build script: - - cmake -S . -B build - cd build - make - - make package - - make test - - make build-xml artifacts: paths: - "build/bin/*" + + +build_package: + stage: build_package + script: + - cd build + - make package + artifacts: + paths: - "build/packages/*" + +test: + stage: test + script: + - cd build + - make test + - make build-xml + artifacts: reports: junit: build/report.xml \ No newline at end of file