From 71ef9da4a19efe0049657074fe09c3d22229c5dd Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Fri, 1 Apr 2022 15:06:16 +0200 Subject: [PATCH] Commands in build stage. --- .gitlab-ci.yml | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index efb80883..0db98f89 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,21 @@ build: - make -j8 all modules - make DISTCHECK_CONFIGURE_FLAGS="--with-linux-dir=/usr/src/linux-obj/$(uname -i)/default" distcheck +commands: + stage: build + rules: + - if: $CI_COMMIT_BRANCH == "stable-1.5" + script: + - ./bootstrap + - ./configure --disable-kernel --disable-userlib + - make -j8 all + - mkdir documentation/external + - make -C documentation ext + artifacts: + paths: + - tool/ethercat + - documentation/external/ + test cmake: stage: test @@ -38,28 +53,11 @@ pages: paths: - public/ -commands: - stage: deploy - rules: - - if: $CI_COMMIT_BRANCH == "stable-1.5" - script: - - ./bootstrap - - ./configure --disable-kernel --disable-userlib - - make -j8 all - - mkdir documentation/external - - make -C documentation ext - artifacts: - paths: - - tool/ethercat - - documentation/external/ - documentation: stage: deploy rules: - if: $CI_COMMIT_BRANCH == "stable-1.5" # image: texlive/texlive - dependencies: - - commands script: - find documentation - cd documentation