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 \