diff --git a/utils/tests/gitlab-ci.yml b/utils/tests/gitlab-ci.yml index d50ca137c..148cd56c5 100644 --- a/utils/tests/gitlab-ci.yml +++ b/utils/tests/gitlab-ci.yml @@ -59,7 +59,7 @@ stages: CCACHE_BASEDIR_VALUE: ns-3-ccache-storage # Defines the per-commit jobs. They are executed for any branch -per-commit-compile-debug: +.base-per-commit-compile: extends: .base-build except: variables: @@ -69,46 +69,26 @@ per-commit-compile-debug: image: archlinux variables: COMPILER: g++ - MODE: debug before_script: - pacman -Syu --noconfirm base-devel cmake ninja ccache python boost gsl gtk3 +per-commit-compile-debug: + extends: .base-per-commit-compile + variables: + MODE: debug + per-commit-compile-default: - extends: .base-build - except: - variables: - - $CPPYY == "True" - - $RELEASE == "weekly" - - $RELEASE == "daily" - image: archlinux + extends: .base-per-commit-compile variables: - COMPILER: g++ MODE: default - before_script: - - pacman -Syu --noconfirm - base-devel cmake ninja ccache - python - boost gsl gtk3 per-commit-compile-optimized: - extends: .base-build - except: - variables: - - $CPPYY == "True" - - $RELEASE == "weekly" - - $RELEASE == "daily" - image: archlinux + extends: .base-per-commit-compile variables: - COMPILER: g++ MODE: optimized - before_script: - - pacman -Syu --noconfirm - base-devel cmake ninja ccache - python - boost gsl gtk3 # Weekly jobs for other distribution and compilers include: