From ccd5840579bf2d75e2cffa234e2f3aface7e23c8 Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Fri, 1 Oct 2021 16:29:40 +0200 Subject: [PATCH] don't always test bob-devel and deps --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dba82838..fe53dbce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -67,12 +67,20 @@ stages: build_linux_bob_devel: extends: .build_linux_template + # run bob-devel test only when bob/devtools/data/conda_build_config.yaml changes + only: + changes: + - bob/devtools/data/conda_build_config.yaml script: - sudo yum install -y mesa-libGL-devel # need this for pyopengl - python3 ./bob/devtools/build.py -vv build-bob-devel build_linux_deps: extends: .build_linux_template + # run deps test only when deps changes + only: + changes: + - deps/**/* script: - python3 ./bob/devtools/build.py -vv build-deps @@ -85,11 +93,19 @@ build_linux_bob_devtools: build_macos_intel_bob_devel: extends: .build_macos_intel_template + # run bob-devel test only when bob/devtools/data/conda_build_config.yaml changes + only: + changes: + - bob/devtools/data/conda_build_config.yaml script: - python3 ./bob/devtools/build.py -vv build-bob-devel build_macos_intel_deps: extends: .build_macos_intel_template + # run deps test only when deps changes + only: + changes: + - deps/**/* script: - python3 ./bob/devtools/build.py -vv build-deps -- GitLab