Skip to content

Commit

Permalink
Workflow and Test Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shabinder committed Aug 13, 2024
1 parent fb961b3 commit 0bc4ebf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
- name: Build native libraries
run: |
if [[ "$(uname)" == "Darwin" ]]; then
ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.B.tbd /opt/homebrew/Cellar/zig/0.13.0/lib/zig/libc/darwin/libSystem.tbd
xcodebuild -version
ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.B.tbd /opt/homebrew/Cellar/zig/0.13.0/lib/zig/libc/darwin/libSystem.tbd
fi
cd zipline
zig build
Expand Down Expand Up @@ -101,7 +102,8 @@ jobs:
- name: Build native libraries
run: |
if [[ "$(uname)" == "Darwin" ]]; then
ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.B.tbd /opt/homebrew/Cellar/zig/0.13.0/lib/zig/libc/darwin/libSystem.tbd
xcodebuild -version
ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.B.tbd /opt/homebrew/Cellar/zig/0.13.0/lib/zig/libc/darwin/libSystem.tbd
fi
cd zipline
zig build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class TuningApisTest {
// TODO remove this test once jniMain and nativeMain share initial value config in hostMain.
assertEquals(-1, quickjs.memoryLimit)
assertEquals(256L * 1024L, quickjs.gcThreshold)
assertEquals(512L * 1024L, quickjs.maxStackSize)
assertEquals(0L, quickjs.maxStackSize)
}

@Test fun setMemoryLimit() {
Expand Down

0 comments on commit 0bc4ebf

Please sign in to comment.