From 7fe43c312f3aa246ccef7483f19c45458c2cbc25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Mon, 17 Jan 2022 17:35:01 +0100 Subject: [PATCH] ci: add architecture specification to agent label MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Should fix errors like: ``` clang: error: the clang compiler does not support '-march=native' ``` Caused by hitting the Apple M1 `arm64` host. Signed-off-by: Jakub SokoĊ‚owski --- ci/Jenkinsfile.prs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/Jenkinsfile.prs b/ci/Jenkinsfile.prs index 62e5bee3e..188d3f309 100644 --- a/ci/Jenkinsfile.prs +++ b/ci/Jenkinsfile.prs @@ -1,7 +1,7 @@ library 'status-jenkins-lib@v1.2.18' pipeline { - agent { label getAgentLabel() } + agent { label "${getAgentLabel()} && x86_64" } parameters { string(