Skip to content
Snippets Groups Projects
Commit 054f2931 authored by Tobias Winchen's avatar Tobias Winchen
Browse files

Use needs to speed up cicd build

parent fd79c88e
Branches devel
No related tags found
No related merge requests found
Pipeline #225674 failed
......@@ -25,6 +25,7 @@ build_cpp:
cpplint:
stage: test
needs: []
script:
- pip3 install cpplint anybadge
......@@ -51,7 +52,8 @@ test_cpp:
benchmark:
stage: binary_release
stage: test
needs: ["build_cpp"]
script:
- make -C build/ benchmark
artifacts:
......@@ -73,17 +75,17 @@ make_doc:
paths:
- build
include:
- project: MPIfR-BDG/edd_provisioning
file: '.build_template.yml'
build-deb:
needs: ["test_cpp"]
stage: binary_release
extends: .build_template
upload-deb:
needs: ["build-deb"]
stage: deploy
extends: .upload_template
rules:
......@@ -92,8 +94,7 @@ upload-deb:
pages:
stage: deploy
dependencies:
- make_doc
needs: ["make_doc"]
script:
- mkdir public
- mv build/doc/* public/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment