From 65b6bb17bac30e94e0b72d09b5920dcea42eaaff Mon Sep 17 00:00:00 2001 From: Sven Marcus <s.marcus@outlook.de> Date: Fri, 22 Jan 2021 14:45:04 +0100 Subject: [PATCH] Move Python build to its own stage --- .gitlab-ci.yml | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 31a3c6378..b71bfae7b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ image: irmb/virtualfluids-python-deps stages: - build + - build_python - test - analyze - deploy @@ -55,21 +56,6 @@ gcc_9: ############################################################################### -gcc_9_python: - stage: build - - needs: ["gcc_9"] - - artifacts: - paths: - - build/ - - dist/ - - script: - - python3 setup.py bdist_wheel - -############################################################################### - clang_10: extends: .gnu_build_template @@ -177,6 +163,24 @@ build_singularity_image: - singularity build --fakeroot Containers/VirtualFluidsOpenMPI.sif Containers/VirtualFluidsOpenMPI.def - ls -sh Containers/VirtualFluidsOpenMPI.sif + +############################################################################### +## Build Python ## +############################################################################### + +gcc_9_python: + stage: build_python + + needs: ["gcc_9"] + + artifacts: + paths: + - build/ + - dist/ + + script: + - python3 setup.py bdist_wheel + ############################################################################### ## Tests ## ############################################################################### -- GitLab