From 372b94e8dc1444bdbc14799388693e485fa3b40f Mon Sep 17 00:00:00 2001 From: Michael Wagner Date: Wed, 27 Sep 2023 12:45:45 -0400 Subject: [PATCH] chore: add qemu --- .github/workflows/ci.yml | 6 ++++++ Earthfile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90b78a6..a553897 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,12 @@ jobs: - uses: earthly/actions-setup@v1 with: version: v0.7.8 + - name: Set up QEMU + id: qemu + uses: docker/setup-qemu-action@v1 + with: + image: tonistiigi/binfmt:latest + platforms: all - uses: actions/checkout@v2 - name: Put back the git branch into git (Earthly uses it for tagging) run: | diff --git a/Earthfile b/Earthfile index e363f57..651727a 100644 --- a/Earthfile +++ b/Earthfile @@ -3,7 +3,7 @@ FROM crystallang/crystal:latest WORKDIR /workdir all: - BUILD +test + BUILD --platform=linux/amd64--platform=linux/arm64 +test deps: RUN apt-get update \