FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

ci: warpbuild runners by NathanWalker · Pull Request #10664 · NativeScript/NativeScript · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .js  (1) .json  (1) .yml  (1) All 3 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
21 changes: 11 additions & 10 deletions .github/workflows/apps_automated_ios.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,25 @@ concurrency:

jobs:
test-ios:
runs-on: macos-latest
# runs-on: macos-latest
runs-on: warp-macos-15-arm64-6x

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20.10.0
# - name: ActionDebugger By Warpbuild
# uses: Warpbuilds/action-debugger@v1.3

- name: Install Python
uses: actions/setup-python@v4
- uses: actions/setup-node@v4
with:
python-version: '3'
node-version: 23.5.0

- name: Install NativeScript
run: |
python3 -m pip install --upgrade pip six
npm i -g nativescript --ignore-scripts --legacy-peer-deps
ns usage-reporting disable
ns error-reporting disable
ns doctor
# ns doctor

- name: Setup
run: npm run setup
Expand All @@ -43,7 +41,10 @@ jobs:
run: npx nx run-many --target=test --configuration=ci --projects=core

- name: Start iOS Simulator
uses: futureware-tech/simulator-action@v3
uses: futureware-tech/simulator-action@v4
with:
model: 'iPhone 15'
os_version: '17.5'

- name: Run tests on iOS Simulator
run: node tools/scripts/run-automated.js ios
9 changes: 8 additions & 1 deletion apps/automated/project.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,14 @@
"forDevice": false,
"prepare": false
},
"configurations": {}
"configurations": {
"ios": {
"platform": "ios"
},
"android": {
"platform": "android"
}
}
},
"prepare": {
"executor": "@nativescript/nx:prepare",
Expand Down
2 changes: 1 addition & 1 deletion tools/scripts/run-automated.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const spawned_process = spawn(
[
"nx",
"run",
`apps-automated:${platform}`,
`apps-automated:debug:${platform}`,
// "--log=trace",
// `--flags="--log=trace"`,
"--timeout=600" // 10 minutes, booting avds on CI is very slow...
Expand Down

Back | FazBrowse Home | New Git URL