From fd87d98829e0c1e724ecda73f78539fcc0ed399d Mon Sep 17 00:00:00 2001 From: Till0196 <16399842+Till0196@users.noreply.github.com> Date: Wed, 13 Nov 2024 14:06:05 +0900 Subject: [PATCH] =?UTF-8?q?mac=E3=82=92=E3=82=84=E3=82=81=E3=81=A6?= =?UTF-8?q?=E3=80=81=E5=85=A8=E3=81=A6qemu=E3=81=A7=E3=82=84=E3=82=89?= =?UTF-8?q?=E3=81=9B=E3=81=A6=E3=81=BF=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 31 ++++--------------------------- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b06ff3e..f338b0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,12 +15,10 @@ jobs: strategy: fail-fast: false matrix: - include: - - os: ubuntu-latest - platform: linux/amd64 - - os: macos-latest - platform: linux/arm64 - runs-on: ${{ matrix.os }} + platform: + - linux/amd64 + - linux/arm64 + runs-on: ubuntu-latest steps: - name: Prepare run: | @@ -28,27 +26,6 @@ jobs: echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV echo "REGISTRY_IMAGE=`echo ghcr.io/${{github.repository}} | tr '[:upper:]' '[:lower:]'`" >> ${GITHUB_ENV} - - name: Install Docker and start Colima on macOS - if: matrix.os == 'macos-latest' - run: | - brew install docker --formula - brew install colima - brew install qemu - LIMACTL_PATH=$(brew --prefix)/bin/limactl - sudo curl -L -o $LIMACTL_PATH https://github.com/mikekazakov/lima-nohvf/raw/master/limactl && sudo chmod +x $LIMACTL_PATH - colima start --network-address --arch arm64 --vm-type=qemu - - - name: Use GNU tar on macOS - if: matrix.os == 'macos-latest' - run: | - brew install gnu-tar - echo "$HOMEBREW_PREFIX/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH - - - name: check GNU tar versions on macOS - if: matrix.os == 'macos-latest' - run: | - tar --version - - uses: actions/checkout@v4 - name: Docker meta