From: Thomas Weißschuh Date: Tue, 25 Apr 2023 06:27:12 +0000 (+0200) Subject: ci: (s390x/qemu-user) speed up build preparation X-Git-Tag: v2.39~59 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=006275ac911e393b5ab6ace921c3b3bb206d6cb0;p=thirdparty%2Futil-linux.git ci: (s390x/qemu-user) speed up build preparation By configuring the build action properly the setup steps can be cached, speeding up the build. Signed-off-by: Thomas Weißschuh --- 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