Skip to content

Commit ade9fa5

Browse files
committed
ci: add linux aarch64 to the nightly build
1 parent f84c439 commit ade9fa5

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/build.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,35 @@ jobs:
4040
artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }}
4141
tag: nightly
4242

43+
build-linux-aarch64:
44+
env:
45+
ARCH: aarch64
46+
OS: linux
47+
48+
runs-on: ubuntu-22.04-arm
49+
50+
steps:
51+
- uses: actions/checkout@v4
52+
with:
53+
fetch-depth: 0
54+
# fetch submodules recusively, to get zig-js-runtime submodules also.
55+
submodules: recursive
56+
57+
- uses: ./.github/actions/install
58+
59+
- name: zig build
60+
run: zig build --release=safe -Doptimize=ReleaseSafe -Dengine=v8 -Dgit_commit=$(git rev-parse --short ${{ github.sha }})
61+
62+
- name: Rename binary
63+
run: mv zig-out/bin/lightpanda lightpanda-${{ env.ARCH }}-${{ env.OS }}
64+
65+
- name: Upload the build
66+
uses: ncipollo/release-action@v1
67+
with:
68+
allowUpdates: true
69+
artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }}
70+
tag: nightly
71+
4372
build-macos-aarch64:
4473
env:
4574
ARCH: aarch64

0 commit comments

Comments
 (0)