mirror of
https://github.com/stablyai/orca.git
synced 2026-10-30 16:47:34 +00:00
* ci: move secondary, scheduled and contract workflows to GitHub-hosted runners Public-repo standard hosted runners are free under Enterprise. Release, build, benchmark, e2e and unit workflows stay on Blacksmith. ci-xterm-cache seeds both cache stores since its PR consumer's pool is undecided. * test(pi): resolve the smoke bundle's external packages from the repo #34148 pulled zod into the commit-message planner graph; the bundle in the OS temp dir could not resolve it on any runner. * ci(unit): use four workers on the hosted four-core x64 runner --------- Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
name: Scheduled x86 unit compatibility
|
|
|
|
on:
|
|
schedule:
|
|
# Keep current and future Node coverage on x86 while PR unit shards use ARM.
|
|
- cron: '0 10 * * *'
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: node-next-compat
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
# Prime each Node ABI before its shards restore native modules.
|
|
test_native_cache:
|
|
name: prepare test native cache node ${{ matrix.node }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
node: ['24', '26']
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- uses: ./.github/actions/install-node-dependencies
|
|
with:
|
|
native-runtime: node
|
|
node-version: ${{ matrix.node }}
|
|
|
|
unit_plan:
|
|
uses: ./.github/workflows/unit-plan.yml
|
|
|
|
test:
|
|
needs: [test_native_cache, unit_plan]
|
|
uses: ./.github/workflows/unit-tests.yml
|
|
with:
|
|
node_versions: '["24", "26"]'
|
|
# Shards restore the native cache primed above, so both use the same hosted cache.
|
|
runner: ubuntu-24.04
|
|
shards: ${{ needs.unit_plan.outputs.shards }}
|