Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Commit 5bb95d6

Browse files
committed
fix: add qemu to run arm64 build
1 parent 05a8460 commit 5bb95d6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ jobs:
2323
- uses: actions/setup-node@v3
2424
with:
2525
node-version: 14
26+
- name: Set up QEMU
27+
uses: docker/setup-qemu-action@e81a89b1732b9c48d79cd809d8d81d79c4647a18 # v2.0.0
28+
with:
29+
platforms: arm64
30+
# NOTE: we need QEMU to build Layer against a different architecture (e.g., ARM)
31+
- name: Set up Docker Buildx
32+
id: builder
33+
uses: docker/setup-buildx-action@f03ac48505955848960e80bbb68046aa35c7b9e7 # v2.4.1
34+
with:
35+
install: true
36+
driver: docker
37+
platforms: linux/amd64,linux/arm64
2638
- name: Install dependencies
2739
run: yarn install --check-files
2840
- name: build

0 commit comments

Comments
 (0)