Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .github/actions/setup-build-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,9 @@ runs:
- name: Install dependencies
shell: bash
run: ./scripts/install-ci-deps.sh ${{ inputs.install-test-tools == 'true' && '--test-tools' || '' }}
# The V8 libraries and headers are not committed. build_nativescript.sh also
# calls this, but the test job drives xcodebuild directly, so it belongs in
# the shared setup rather than in one job. It is a no-op once installed.
- name: Fetch prebuilt V8
shell: bash
run: ./download_v8.sh
12 changes: 6 additions & 6 deletions .github/workflows/npm_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

env:
NPM_TAG: "next"
XCODE_VERSION: "^15.0"
XCODE_VERSION: "^16.0"

# Minimal default token permissions for every job. Jobs that need more declare it
# locally (github-release: contents:write; publish: id-token:write). Cross-repo
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:

build:
name: Build ${{ matrix.target }}
runs-on: macos-14
runs-on: macos-15
needs: setup
strategy:
fail-fast: false
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:

test:
name: Test
runs-on: macos-14
runs-on: macos-15
needs: build
steps:
- name: Harden the runner (Audit all outbound calls)
Expand Down Expand Up @@ -167,9 +167,9 @@ jobs:
# TestRunnerTests.swift) need more than 20m headroom per attempt.
timeout_minutes: 40
max_attempts: 2
command: set -o pipefail && xcodebuild -project v8ios.xcodeproj -scheme TestRunner -resultBundlePath $TEST_FOLDER/test_results -destination platform\=iOS\ Simulator,OS\=17.2,name\=iPhone\ 15\ Pro\ Max build test | xcpretty
command: set -o pipefail && xcodebuild -project v8ios.xcodeproj -scheme TestRunner -resultBundlePath $TEST_FOLDER/test_results -destination platform\=iOS\ Simulator,OS\=latest,name\=iPhone\ 16\ Pro build test | xcpretty
on_retry_command: rm -rf $TEST_FOLDER/test_results* && xcrun simctl shutdown all
new_command_on_retry: xcodebuild -project v8ios.xcodeproj -scheme TestRunner -resultBundlePath $TEST_FOLDER/test_results -destination platform\=iOS\ Simulator,OS\=17.2,name\=iPhone\ 15\ Pro\ Max build test
new_command_on_retry: xcodebuild -project v8ios.xcodeproj -scheme TestRunner -resultBundlePath $TEST_FOLDER/test_results -destination platform\=iOS\ Simulator,OS\=latest,name\=iPhone\ 16\ Pro build test
- name: Validate Test Results
run: |
xcparse attachments $TEST_FOLDER/test_results.xcresult $TEST_FOLDER/test-out
Expand Down Expand Up @@ -402,7 +402,7 @@ jobs:
# next, iOS + visionos on real releases (v* tag / manual version).
verify-spm:
name: Verify SPM resolution
runs-on: macos-14
runs-on: macos-15
if: ${{ vars.ENABLE_SPM_RELEASE == 'true' }}
needs:
- setup
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ on:

env:
NPM_TAG: "pr"
XCODE_VERSION: "^15.0"
XCODE_VERSION: "^16.0"

jobs:
build:
name: Build
runs-on: macos-14
runs-on: macos-15
steps:
- uses: maxim-lobanov/setup-xcode@ed7a3b1fda3918c0306d1b724322adc0b8cc0a90 # v1.7.0
with:
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
path: dist/dSYMs
test:
name: Test
runs-on: macos-14
runs-on: macos-15
needs: build
steps:
- uses: maxim-lobanov/setup-xcode@ed7a3b1fda3918c0306d1b724322adc0b8cc0a90 # v1.7.0
Expand Down Expand Up @@ -86,9 +86,9 @@ jobs:
# TestRunnerTests.swift) need more than 20m headroom per attempt.
timeout_minutes: 40
max_attempts: 2
command: set -o pipefail && xcodebuild -project v8ios.xcodeproj -scheme TestRunner -resultBundlePath $TEST_FOLDER/test_results -destination platform\=iOS\ Simulator,OS\=17.2,name\=iPhone\ 15\ Pro\ Max build test | xcpretty
command: set -o pipefail && xcodebuild -project v8ios.xcodeproj -scheme TestRunner -resultBundlePath $TEST_FOLDER/test_results -destination platform\=iOS\ Simulator,OS\=latest,name\=iPhone\ 16\ Pro build test | xcpretty
on_retry_command: rm -rf $TEST_FOLDER/test_results* && xcrun simctl shutdown all
new_command_on_retry: xcodebuild -project v8ios.xcodeproj -scheme TestRunner -resultBundlePath $TEST_FOLDER/test_results -destination platform\=iOS\ Simulator,OS\=17.2,name\=iPhone\ 15\ Pro\ Max build test
new_command_on_retry: xcodebuild -project v8ios.xcodeproj -scheme TestRunner -resultBundlePath $TEST_FOLDER/test_results -destination platform\=iOS\ Simulator,OS\=latest,name\=iPhone\ 16\ Pro build test
- name: Validate Test Results
run: |
xcparse attachments $TEST_FOLDER/test_results.xcresult $TEST_FOLDER/test-out
Expand Down
28 changes: 27 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,30 @@ v8_build
/project-template-ios/.build_env_vars.sh
/project-template-ios/__PROJECT_NAME__.xcodeproj/project.xcworkspace/xcshareddata/
/project-template-vision/.build_env_vars.sh
/project-template-vision/__PROJECT_NAME__.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
/project-template-vision/__PROJECT_NAME__.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

# V8 prebuilts, fetched by download_v8.sh from the release
# pinned in V8_RELEASE. Not committed: the full matrix cannot be built
# on one machine, so hand-assembled binaries are neither reproducible nor
# verifiable.
#
# The headers are ignored along with the libraries on purpose: keeping a
# vendored copy in git is how it drifts out of step with the binaries it
# describes -- the crdtp headers here sat on 10.3 against a 14.9 libcrdtp.
# Sourcing both from one verified artifact makes that impossible.
# tools/v8 holds our scripts, not a V8 checkout; the bare 'v8' rule above
# would otherwise swallow it.
!tools/v8/
!tools/v8/**

/.v8-prebuilt/
NativeScript/lib/*/*.a
!NativeScript/lib/*/libffi.a
NativeScript/lib/.v8-release-stamp
NativeScript/include/**
!NativeScript/include/libffi.h
!NativeScript/include/libffi/
!NativeScript/include/libffi/**
NativeScript/inspector/src/
NativeScript/inspector/third_party/
NativeScript/inspector/absl/
2 changes: 1 addition & 1 deletion NativeScript/NativeScript-Prefix.pch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef NativeScript_Prefix_pch
#define NativeScript_Prefix_pch

#define NATIVESCRIPT_VERSION "9.0.0-alpha.11"
#define NATIVESCRIPT_VERSION "9.0.4-dev.2"

#ifdef DEBUG
#define SIZEOF_OFF_T 8
Expand Down
72 changes: 0 additions & 72 deletions NativeScript/include/APIDesign.md

This file was deleted.

10 changes: 0 additions & 10 deletions NativeScript/include/DEPS

This file was deleted.

11 changes: 0 additions & 11 deletions NativeScript/include/DIR_METADATA

This file was deleted.

23 changes: 0 additions & 23 deletions NativeScript/include/OWNERS

This file was deleted.

8 changes: 0 additions & 8 deletions NativeScript/include/cppgc/DEPS

This file was deleted.

2 changes: 0 additions & 2 deletions NativeScript/include/cppgc/OWNERS

This file was deleted.

Loading
Loading