Skip to content

Commit

Permalink
chore: add qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
mdwagner committed Sep 27, 2023
1 parent 34498d1 commit 372b94e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 372b94e

Please sign in to comment.