ci: reduce macOS runner contention
This commit is contained in:
@@ -311,15 +311,11 @@ jobs:
|
|||||||
run: npm run verify:inspector
|
run: npm run verify:inspector
|
||||||
|
|
||||||
apple-artifacts:
|
apple-artifacts:
|
||||||
name: Real Apple artifact CLI/MCP E2E (${{ matrix.group }})
|
name: Real Apple artifact CLI/MCP E2E
|
||||||
needs: changes
|
needs: changes
|
||||||
if: needs.changes.outputs.apple == 'true'
|
if: needs.changes.outputs.apple == 'true'
|
||||||
runs-on: macos-15
|
runs-on: macos-15
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
group: [artifacts, native-regressions]
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
@@ -328,7 +324,6 @@ jobs:
|
|||||||
cache: npm
|
cache: npm
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- name: Verify Apple artifact formats and metadata
|
- name: Verify Apple artifact formats and metadata
|
||||||
if: matrix.group == 'artifacts'
|
|
||||||
run: |
|
run: |
|
||||||
npm run verify:keyed-archive
|
npm run verify:keyed-archive
|
||||||
npm run verify:asset-catalog
|
npm run verify:asset-catalog
|
||||||
@@ -337,7 +332,6 @@ jobs:
|
|||||||
npm run verify:apple-dispatch
|
npm run verify:apple-dispatch
|
||||||
npm run verify:interface-builder
|
npm run verify:interface-builder
|
||||||
- name: Run native Apple and process boundary regressions
|
- name: Run native Apple and process boundary regressions
|
||||||
if: matrix.group == 'native-regressions'
|
|
||||||
run: >-
|
run: >-
|
||||||
npm run test:focused --
|
npm run test:focused --
|
||||||
tests/boundary/filesystem/installScript.test.ts
|
tests/boundary/filesystem/installScript.test.ts
|
||||||
|
|||||||
+4
-5
@@ -835,11 +835,10 @@ target-free analysis, configuration backups/recovery, Evidence and owned
|
|||||||
lifecycle; Inspector checks execute source-owned loopback targets and special
|
lifecycle; Inspector checks execute source-owned loopback targets and special
|
||||||
filename cases.
|
filename cases.
|
||||||
|
|
||||||
The Apple artifact CLI/MCP lane uses two macOS jobs: artifact-format and metadata
|
The Apple artifact CLI/MCP lane uses one `macos-15` job to avoid adding demand
|
||||||
verifiers run together in one group, while the existing focused native and
|
for scarce macOS runner capacity. It runs the artifact-format and metadata
|
||||||
process-boundary regressions run in the other. Both groups retain the same
|
verifiers, followed by one consolidated focused invocation containing all
|
||||||
`macos-15` host and timeout; the process-boundary test group remains ordered
|
existing native and process-boundary regression paths.
|
||||||
within its Vitest run.
|
|
||||||
|
|
||||||
The Linux source-test shards download a shared runtime and generated test
|
The Linux source-test shards download a shared runtime and generated test
|
||||||
metadata snapshot produced by the build job with `npm run test:prepare`. The
|
metadata snapshot produced by the build job with `npm run test:prepare`. The
|
||||||
|
|||||||
Reference in New Issue
Block a user