File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -175,3 +175,44 @@ 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+
202+ - name : zig build
203+ run : zig build --release=safe -Doptimize=ReleaseSafe -Dgit_commit=$(git rev-parse --short ${{ github.sha }}) static-build
204+
205+ - name : Rename binary
206+ run : mv zig-out/lib/liblightpanda.a liblightpanda-${{ env.ARCH }}-${{ env.OS }}.a
207+
208+ - name : upload on s3
209+ run : |
210+ export DIR=`git show --no-patch --no-notes --pretty='%cs_%h'`
211+ aws s3 cp --storage-class=GLACIER_IR liblightpanda-${{ env.ARCH }}-${{ env.OS }}.a s3://lpd-nightly-build/${DIR}/liblightpanda-${{ env.ARCH }}-${{ env.OS }}.a
212+
213+ - name : Upload the build
214+ uses : ncipollo/release-action@v1
215+ with :
216+ allowUpdates : true
217+ artifacts : lightpanda-${{ env.ARCH }}-${{ env.OS }}
218+ tag : nightly
You can’t perform that action at this time.
0 commit comments