From c3ef1bd79c4d94223bd7f8862be15060540fc417 Mon Sep 17 00:00:00 2001 From: tyranron Date: Fri, 5 Jan 2024 14:27:54 +0100 Subject: [PATCH] Remove building in MacOS on CI --- .github/workflows/ci.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index acd2f5c..d6ab5ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,28 +31,15 @@ jobs: - arm64v8 - ppc64le - s390x - 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) }} + - uses: docker/setup-buildx-action@v3 - uses: docker/setup-qemu-action@v3 with: image: tonistiigi/binfmt:qemu-v8.1.4 - if: ${{ contains('arm32v6 arm32v7 s390x', matrix.arch) }} - - uses: docker/setup-buildx-action@v3 - if: ${{ !contains('arm32v6 arm32v7 s390x', matrix.arch) }} - run: make docker.image no-cache=yes platform=${{ matrix.os }}/${{ matrix.arch }}