ci: Add .base-per-commit-compile base job

This commit is contained in:
Eduardo Almeida
2022-08-08 21:47:52 +01:00
committed by Tommaso Pecorella
parent dc82143a17
commit 9738d6b267

View File

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