File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -139,3 +139,34 @@ 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+ TARGET_ENVIRONMENT : simulator
148+
149+ runs-on : macos-latest
150+ steps :
151+ - uses : mlugg/setup-zig@v2
152+ with :
153+ version : ${{ env.ZIG_VERSION }}
154+
155+ - uses : actions/setup-python@v5
156+ with :
157+ python-version : ' 3.11'
158+
159+ - uses : actions/checkout@v4
160+ with :
161+ submodules : recursive
162+ fetch-depth : 0
163+
164+ - run : OS=macos zig build get-v8 # We force the OS to macos here b/c ios is not supported by get-v8
165+ - run : zig build -Doptimize=ReleaseSafe build-v8
166+ - run : mv v8/out/${{ env.OS }}/release/obj/zig/libc_v8.a libc_v8_${{ env.V8_REVISION }}_${{ env.OS }}_${{ env.TARGET_ENVIRONMENT }}_${{ env.ARCH }}.a
167+
168+ - name : Upload the build
169+ uses : ncipollo/release-action@v1
170+ with :
171+ allowUpdates : true
172+ artifacts : libc_v8_${{ env.V8_REVISION }}_${{ env.OS }}_${{ env.ARCH }}.a
Original file line number Diff line number Diff line change 2525
2626: " ${OS:= unset} "
2727case " $OS " in
28+ macos) OS=" mac" ;;
2829 unset)
2930 case " $OSTYPE " in
3031 darwin* ) OS=" mac" ;;
3132 linux* ) OS=" linux" ;;
3233 * ) fail " unsupported platform: ${OSTYPE} "
3334 esac
3435 ;;
35- esac
36+ esac
You can’t perform that action at this time.
0 commit comments