From d695455f087b30ea1cfcbcb164741b6ff4c722d3 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sat, 13 Mar 2021 02:30:45 +0100 Subject: [PATCH] CI: skip armhf, x86 build on stable branches (MR 2024) Don't try to build for arches where we don't have a binary repository on stable branches. --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 53d9ae4cf..4e3becb7d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -151,6 +151,8 @@ build-x86_64: extends: .build build-x86: + only: + - $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master" extends: .build build-aarch64: @@ -160,4 +162,6 @@ build-armv7: extends: .build build-armhf: + only: + - $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master" extends: .build