diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7401daf..2b0867b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,12 +31,21 @@ jobs: - arm64v8 - ppc64le - s390x - runs-on: ubuntu-latest + runs-on: ${{ (matrix.arch == 's390x' && 'macos') + || 'ubuntu' }}-latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 # for correct image labeling via `git describe --tags` + - name: Setup Docker and Docker Compose + run: | + brew install colima docker + colima start + if: ${{ matrix.arch == 's390x' }} + - uses: docker/setup-qemu-action@v3 + if: ${{ matrix.arch == 's390x' }} - uses: docker/setup-buildx-action@v3 + if: ${{ matrix.arch != 's390x' }} - run: make docker.image no-cache=yes platform=${{ matrix.os }}/${{ matrix.arch }}