From 006275ac911e393b5ab6ace921c3b3bb206d6cb0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Tue, 25 Apr 2023 08:27:12 +0200 Subject: [PATCH] ci: (s390x/qemu-user) speed up build preparation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit By configuring the build action properly the setup steps can be cached, speeding up the build. Signed-off-by: Thomas Weißschuh --- .github/workflows/cibuild.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cibuild.yml b/.github/workflows/cibuild.yml index 8cfa6e0c6d..419599644b 100644 --- a/.github/workflows/cibuild.yml +++ b/.github/workflows/cibuild.yml @@ -111,14 +111,16 @@ jobs: with: arch: s390x distro: ubuntu_latest - run: | - export COMPILER=gcc - export COMPILER_VERSION=10 - export SANITIZE=no - export QEMU_USER=1 - + githubToken: "${{ github.token }}" + env: | + COMPILER: gcc + COMPILER_VERSION: 10 + SANITIZE: no + QEMU_USER: 1 + install: | # name: Ubuntu setup .github/workflows/cibuild-setup-ubuntu.sh + run: | git config --global --add safe.directory "$PWD" # Configure & Make .github/workflows/cibuild.sh CONFIGURE MAKE -- 2.47.3