From 7effca0d0995844b3b3b89d568c3c8cee7b9ef1e Mon Sep 17 00:00:00 2001 From: David Steele Date: Sun, 20 Oct 2024 20:28:54 +0300 Subject: [PATCH] Update CI tests for ppc64le/s390x architectures. The action suddenly broken and this appears to be the best work around according to https://github.com/uraimo/run-on-arch-action/issues/155. Unfortunately the tests take almost twice and long to run, probably because the container needs to be built from scratch. --- .github/workflows/test.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 93236511b..a49d3ab79 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -80,10 +80,8 @@ jobs: strategy: matrix: include: - - arch: ppc64le - distro: ubuntu20.04 - - arch: s390x - distro: ubuntu20.04 + - image: '--platform=linux/ppc64le ubuntu:20.04' + - image: '--platform=linux/s390x ubuntu:20.04' steps: - name: Checkout Code @@ -95,8 +93,7 @@ jobs: uses: uraimo/run-on-arch-action@v2 id: runcmd with: - arch: ${{matrix.arch}} - distro: ${{matrix.distro}} + base_image: ${{matrix.image}} # Cache builds githubToken: ${{github.token}}