We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d7589b commit cb70e3cCopy full SHA for cb70e3c
.github/workflows/build.yml
@@ -203,5 +203,13 @@ jobs:
203
arch: ${{env.ARCH}}
204
target-env: ${{env.TARGET_ENVIRONMENT}}
205
206
+ # zig uses macos instead of ios as target. But install created ios dir.
207
+ # here we link v8 build in macos path too.
208
+ - run: |
209
+ mkdir -p v8/out/macos/debug/obj/zig/
210
+ ln -s v8/out/${{ env.OS }}/debug/obj/zig/libc_v8.a v8/out/macos/debug/obj/zig/libc_v8.a
211
+ mkdir -p v8/out/macos/release/obj/zig/
212
+ ln -s v8/out/${{ env.OS }}/release/obj/zig/libc_v8.a v8/out/macos/release/obj/zig/libc_v8.a
213
+
214
- name: zig build
215
run: zig build --release=safe -Doptimize=ReleaseSafe -Dgit_commit=$(git rev-parse --short ${{ github.sha }}) static-lib
0 commit comments