From 576696aa4465546c76dd447e8bd17c0eb3c2c67c Mon Sep 17 00:00:00 2001 From: tyranron Date: Wed, 25 Oct 2023 15:45:33 +0300 Subject: [PATCH] Test QEMU 8 --- .github/workflows/ci.yml | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b05e68..014ae4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,26 +31,29 @@ jobs: - arm64v8 - ppc64le - s390x - runs-on: ${{ (contains('arm32v6 arm32v7 s390x', matrix.arch) - && 'macos') - || 'ubuntu' }}-latest + #runs-on: ${{ (contains('arm32v6 arm32v7 s390x', matrix.arch) + # && 'macos') + # || 'ubuntu' }}-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 # for correct image labeling via `git describe --tags` - - name: Setup Docker for MacOS - run: | - set -ex - brew install colima docker docker-buildx - mkdir -p /Users/runner/.docker/cli-plugins/ - ln -sfn /usr/local/opt/docker-buildx/bin/docker-buildx \ - /Users/runner/.docker/cli-plugins/docker-buildx - colima start - if: ${{ contains('arm32v6 arm32v7 s390x', matrix.arch) }} + #- name: Setup Docker for MacOS + # run: | + # set -ex + # brew install colima docker docker-buildx + # mkdir -p /Users/runner/.docker/cli-plugins/ + # ln -sfn /usr/local/opt/docker-buildx/bin/docker-buildx \ + # /Users/runner/.docker/cli-plugins/docker-buildx + # colima start + # if: ${{ contains('arm32v6 arm32v7 s390x', matrix.arch) }} - uses: docker/setup-qemu-action@v3 - if: ${{ contains('arm32v6 arm32v7 s390x', matrix.arch) }} + with: + image: tonistiigi/binfmt:master + # if: ${{ contains('arm32v6 arm32v7 s390x', matrix.arch) }} - uses: docker/setup-buildx-action@v3 - if: ${{ !contains('arm32v6 arm32v7 s390x', matrix.arch) }} + # if: ${{ !contains('arm32v6 arm32v7 s390x', matrix.arch) }} - run: make docker.image no-cache=yes platform=${{ matrix.os }}/${{ matrix.arch }}