From d8d93e143ed5805a5eab33b333deb343a03db9b1 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 8 Feb 2023 13:15:28 +0100 Subject: build for Mac's M1 also --- .github/workflows/ci.yml | 4 ++-- Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a9de0b..6fd12a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,9 +95,9 @@ jobs: # Building for ARM for every commit not in master is too time-consuming. run: | if [ '${{ github.ref }}' = 'refs/heads/master' ]; then - echo 'platforms=linux/amd64,linux/armhf' >> "$GITHUB_OUTPUT" + echo 'platforms=amd64,armhf,arm64' >> "$GITHUB_OUTPUT" else - echo 'platforms=linux/amd64' >> "$GITHUB_OUTPUT" + echo 'platforms=amd64' >> "$GITHUB_OUTPUT" fi - name: 'Publish math-${{ matrix.project }}' uses: docker/build-push-action@v3 diff --git a/Makefile b/Makefile index 26acca2..e52f504 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ cmake_dir := $(build_dir)/cmake DESTDIR ?= $(build_dir)/install # Target platforms (used by buildx): -DOCKER_PLATFORMS := linux/amd64,linux/armhf +DOCKER_PLATFORMS := amd64,armhf,arm64 # Docker Hub credentials: DOCKER_USERNAME := egortensin -- cgit v1.2.3