Skip to content

Commit cbe7620

Browse files
committed
ci: add io build
1 parent da94927 commit cbe7620

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/build-release.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,33 @@ jobs:
139139
with:
140140
allowUpdates: true
141141
artifacts: libc_v8_${{ env.V8_REVISION }}_${{ env.OS }}_${{ env.ARCH }}.a
142+
143+
build-aarch64-ios:
144+
env:
145+
OS: ios
146+
ARCH: aarch64
147+
148+
runs-on: macos-latest
149+
steps:
150+
- uses: mlugg/setup-zig@v2
151+
with:
152+
version: ${{ env.ZIG_VERSION }}
153+
154+
- uses: actions/setup-python@v5
155+
with:
156+
python-version: '3.11'
157+
158+
- uses: actions/checkout@v4
159+
with:
160+
submodules: recursive
161+
fetch-depth: 0
162+
163+
- run: OS=macos zig build get-v8 # We force the OS to macos here b/c ios is not supported by get-v8
164+
- run: zig build -Doptimize=ReleaseSafe build-v8
165+
- run: mv v8/out/${{ env.OS }}/release/obj/zig/libc_v8.a libc_v8_${{ env.V8_REVISION }}_${{ env.OS }}_${{ env.ARCH }}.a
166+
167+
- name: Upload the build
168+
uses: ncipollo/release-action@v1
169+
with:
170+
allowUpdates: true
171+
artifacts: libc_v8_${{ env.V8_REVISION }}_${{ env.OS }}_${{ env.ARCH }}.a

0 commit comments

Comments
 (0)