From ee28edc2e5b375e800fe6e95206c25de1d57061c Mon Sep 17 00:00:00 2001 From: Igor Randjelovic Date: Fri, 3 Jan 2025 23:16:44 +0100 Subject: [PATCH 1/9] ci: test self-hosted runner --- .github/workflows/apps_automated_ios.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/apps_automated_ios.yml b/.github/workflows/apps_automated_ios.yml index 5b3650a53c..8685f913ce 100644 --- a/.github/workflows/apps_automated_ios.yml +++ b/.github/workflows/apps_automated_ios.yml @@ -14,7 +14,8 @@ concurrency: jobs: test-ios: - runs-on: macos-latest + # runs-on: macos-latest + runs-on: [self-hosted, macosOS, ARM64] steps: - uses: actions/checkout@v4 From 7cbd8ce0d0649d759701bc57d790ba8dee1fd274 Mon Sep 17 00:00:00 2001 From: Igor Randjelovic Date: Fri, 3 Jan 2025 23:17:45 +0100 Subject: [PATCH 2/9] ci: fix typo --- .github/workflows/apps_automated_ios.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/apps_automated_ios.yml b/.github/workflows/apps_automated_ios.yml index 8685f913ce..47c92ae883 100644 --- a/.github/workflows/apps_automated_ios.yml +++ b/.github/workflows/apps_automated_ios.yml @@ -15,7 +15,7 @@ concurrency: jobs: test-ios: # runs-on: macos-latest - runs-on: [self-hosted, macosOS, ARM64] + runs-on: [self-hosted, macOS, ARM64] steps: - uses: actions/checkout@v4 From a5b0020eda3c717ee79daee5dd529e072507b297 Mon Sep 17 00:00:00 2001 From: Igor Randjelovic Date: Fri, 3 Jan 2025 23:38:22 +0100 Subject: [PATCH 3/9] ci: tweak workflow --- .github/workflows/apps_automated_ios.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/apps_automated_ios.yml b/.github/workflows/apps_automated_ios.yml index 47c92ae883..e193d3c30c 100644 --- a/.github/workflows/apps_automated_ios.yml +++ b/.github/workflows/apps_automated_ios.yml @@ -22,20 +22,14 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 20.10.0 - - - name: Install Python - uses: actions/setup-python@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 From a8b7c4cd756c09413514b7729c3e83d9207c25f1 Mon Sep 17 00:00:00 2001 From: Eduardo Speroni Date: Fri, 3 Jan 2025 19:47:50 -0300 Subject: [PATCH 4/9] chore: setup ios/android build on apps-automated --- apps/automated/project.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/automated/project.json b/apps/automated/project.json index 4a8eeefb9b..9aaa64635b 100644 --- a/apps/automated/project.json +++ b/apps/automated/project.json @@ -29,7 +29,14 @@ "forDevice": false, "prepare": false }, - "configurations": {} + "configurations": { + "ios": { + "platform": "ios" + }, + "android": { + "platform": "android" + } + } }, "prepare": { "executor": "@nativescript/nx:prepare", From 2e7b44f8bf2636544a0c8d00413336d1cd708ec4 Mon Sep 17 00:00:00 2001 From: Igor Randjelovic Date: Fri, 3 Jan 2025 23:51:34 +0100 Subject: [PATCH 5/9] ci: update run command --- tools/scripts/run-automated.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/scripts/run-automated.js b/tools/scripts/run-automated.js index e7e94b1467..a2012690be 100644 --- a/tools/scripts/run-automated.js +++ b/tools/scripts/run-automated.js @@ -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... From 6fc4c82aa1a9b7fcfe34067d55745a34a6866afe Mon Sep 17 00:00:00 2001 From: Igor Randjelovic Date: Sat, 4 Jan 2025 00:08:11 +0100 Subject: [PATCH 6/9] ci: use iPhone 15 --- .github/workflows/apps_automated_ios.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/apps_automated_ios.yml b/.github/workflows/apps_automated_ios.yml index e193d3c30c..ebc9891698 100644 --- a/.github/workflows/apps_automated_ios.yml +++ b/.github/workflows/apps_automated_ios.yml @@ -38,7 +38,9 @@ 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' - name: Run tests on iOS Simulator run: node tools/scripts/run-automated.js ios From 83bbe658695aae23486f3b4b566e0941ec9d82cc Mon Sep 17 00:00:00 2001 From: Nathan Walker Date: Sat, 4 Jan 2025 09:28:50 -0800 Subject: [PATCH 7/9] ci: use ios 17.5 --- .github/workflows/apps_automated_ios.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/apps_automated_ios.yml b/.github/workflows/apps_automated_ios.yml index ebc9891698..4d702a5ea4 100644 --- a/.github/workflows/apps_automated_ios.yml +++ b/.github/workflows/apps_automated_ios.yml @@ -41,6 +41,7 @@ jobs: 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 From 50b15fff6580e4e6dd66bf01757804587bf2a610 Mon Sep 17 00:00:00 2001 From: Nathan Walker Date: Sun, 12 Jan 2025 11:04:09 -0800 Subject: [PATCH 8/9] chore: use warpbuild runners --- .github/workflows/apps_automated_ios.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/apps_automated_ios.yml b/.github/workflows/apps_automated_ios.yml index 4d702a5ea4..2fcf9db32c 100644 --- a/.github/workflows/apps_automated_ios.yml +++ b/.github/workflows/apps_automated_ios.yml @@ -15,11 +15,14 @@ concurrency: jobs: test-ios: # runs-on: macos-latest - runs-on: [self-hosted, macOS, ARM64] + runs-on: warp-macos-15-arm64-6x steps: - uses: actions/checkout@v4 + - name: ActionDebugger By Warpbuild + uses: Warpbuilds/action-debugger@v1.3 + - uses: actions/setup-node@v4 with: node-version: 23.5.0 From f42f4ccf48a08ee06ca87e7858ca0447fb138809 Mon Sep 17 00:00:00 2001 From: Nathan Walker Date: Sun, 12 Jan 2025 11:26:17 -0800 Subject: [PATCH 9/9] chore: use without debugger --- .github/workflows/apps_automated_ios.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/apps_automated_ios.yml b/.github/workflows/apps_automated_ios.yml index 2fcf9db32c..f96fe91c57 100644 --- a/.github/workflows/apps_automated_ios.yml +++ b/.github/workflows/apps_automated_ios.yml @@ -20,8 +20,8 @@ jobs: steps: - uses: actions/checkout@v4 - - name: ActionDebugger By Warpbuild - uses: Warpbuilds/action-debugger@v1.3 + # - name: ActionDebugger By Warpbuild + # uses: Warpbuilds/action-debugger@v1.3 - uses: actions/setup-node@v4 with: