File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 3232
3333 steps :
3434 - name : Install apt deps
35+ if : ${{ inputs.os == 'linux' }}
3536 shell : bash
3637 run : sudo apt-get install -y wget xz-utils python3 ca-certificates git pkg-config libglib2.0-dev gperf libexpat1-dev cmake clang
3738
Original file line number Diff line number Diff line change 4040 allowUpdates : true
4141 artifacts : lightpanda-get-${{ env.ARCH }}-${{ env.OS }}
4242 tag : nightly
43+
44+ build-macos-aarch64 :
45+ env :
46+ ARCH : aarch64
47+ OS : macos
48+
49+ runs-on : macos-latest
50+
51+ steps :
52+ - uses : actions/checkout@v4
53+ with :
54+ fetch-depth : 0
55+ token : ${{ secrets.GH_CI_PAT }}
56+ # fetch submodules recusively, to get zig-js-runtime submodules also.
57+ submodules : recursive
58+
59+ - uses : ./.github/actions/install
60+ with :
61+ os : ${{env.OS}}
62+ arch : ${{env.ARCH}}
63+
64+ - name : zig build
65+ run : zig build --release=safe -Doptimize=ReleaseSafe -Dengine=v8
66+
67+ - name : Rename binary
68+ run : mv zig-out/bin/browsercore-get lightpanda-get-${{ env.ARCH }}-${{ env.OS }}
69+
70+ - name : Upload the build
71+ uses : ncipollo/release-action@v1
72+ with :
73+ allowUpdates : true
74+ artifacts : lightpanda-get-${{ env.ARCH }}-${{ env.OS }}
75+ tag : nightly
You can’t perform that action at this time.
0 commit comments