Commands in build stage.

This commit is contained in:
Florian Pose 2022-04-01 15:06:16 +02:00
parent fb937aa5f2
commit 71ef9da4a1
1 changed files with 15 additions and 17 deletions

View File

@ -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