From 90c601deebb4c1c0996b07dc4948926fb74324e8 Mon Sep 17 00:00:00 2001 From: Dirk Haubenreisser Date: Wed, 3 Aug 2022 11:27:28 +0000 Subject: [PATCH] Add s390x and ppc64le release-cli build artifacts (#373) Signed-off-by: Dirk Haubenreisser This PR adds artifact builds for platforms s390x and ppc64le to the GH workflow for target 'release-cli'. Adding these platforms to the list of pre-built release binaries is instrumental in enabling paketo.io buildpacks for s390x and ppc64le. --- .github/workflows/release-cli.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml index 9c655de..61ca885d 100644 --- a/.github/workflows/release-cli.yml +++ b/.github/workflows/release-cli.yml @@ -71,6 +71,8 @@ jobs: - linux-armhf-gnu - linux-arm64-gnu - linux-arm64-musl + - linux-s390x-gnu + - linux-ppc64le-gnu - mac-x86-64 - mac-arm64 - windows-x86-64 @@ -111,6 +113,18 @@ jobs: cross: true experimental: true + - name: linux-s390x-gnu + os: ubuntu-latest + target: s390x-unknown-linux-gnu + cross: true + experimental: false + + - name: linux-ppc64le-gnu + os: ubuntu-latest + target: powerpc64le-unknown-linux-gnu + cross: true + experimental: false + - name: mac-x86-64 os: macos-latest target: x86_64-apple-darwin @@ -160,6 +174,12 @@ jobs: - name: Add arm7hf-gnu tools run: sudo apt install -y gcc-arm-linux-gnueabihf if: startsWith(matrix.target, 'armv7-unknown-linux-gnueabihf') + - name: Add s390x-gnu tools + run: sudo apt install -y gcc-s390x-linux-gnu + if: startsWith(matrix.target, 's390x-unknown-linux-gnu') + - name: Add ppc64le-gnu tools + run: sudo apt install -y gcc-powerpc64le-linux-gnu + if: startsWith(matrix.target, 'powerpc64le-unknown-linux-gnu') - name: Install cargo-deb if: startsWith(matrix.name, 'linux-')