File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -175,3 +175,33 @@ jobs:
175175 allowUpdates : true
176176 artifacts : lightpanda-${{ env.ARCH }}-${{ env.OS }}
177177 tag : nightly
178+
179+ build-aarch64-ios :
180+ env :
181+ OS : ios
182+ ARCH : aarch64
183+ TARGET_ENVIRONMENT : simulator
184+
185+ # macos-15 runs on arm CPU. see
186+ # https://github.com/actions/runner-images?tab=readme-ov-file
187+ runs-on : macos-15
188+ timeout-minutes : 15
189+
190+ steps :
191+ - uses : actions/checkout@v4
192+ with :
193+ fetch-depth : 0
194+ # fetch submodules recusively, to get zig-js-runtime submodules also.
195+ submodules : recursive
196+
197+ - uses : ./.github/actions/install
198+ with :
199+ os : ${{env.OS}}
200+ arch : ${{env.ARCH}}
201+ target-env : ${{env.TARGET_ENVIRONMENT}}
202+
203+ - name : zig build
204+ run : zig build --release=safe -Doptimize=ReleaseSafe -Dgit_commit=$(git rev-parse --short ${{ github.sha }}) static-build
205+
206+ - name : Rename binary
207+ run : mv zig-out/lib/liblightpanda.a liblightpanda-${{ env.ARCH }}-${{ env.OS }}-{{ TARGET_ENVIRONMENT }}.a
You can’t perform that action at this time.
0 commit comments