chore: import upstream snapshot with attribution
CI / Deep Native Runtime Cases (1/6) (push) Has been skipped
CI / Native Preflight (push) Failing after 1s
CI / Native Runtime Cases (1/2) (push) Failing after 0s
CI / Native Runtime Cases (2/2) (push) Failing after 1s
CI / Native Metadata Reports (push) Failing after 0s
CI / Native Direct Backend Artifacts (push) Failing after 0s
CI / Native Sanitizer Smoke (push) Failing after 1s
CI / Command Contract Snapshots (push) Failing after 1s
CI / Deep Conformance Suite (push) Has been skipped
CI / Graph Build Perf (push) Failing after 1s
CI / Deep Native Preflight (push) Has been skipped
CI / Deep Native Runtime Cases (2/6) (push) Has been skipped
CI / Deep Native Runtime Cases (3/6) (push) Has been skipped
CI / Conformance Suite (push) Failing after 1s
CI / Workspace Checks (push) Failing after 0s
CI / Deep Native Runtime Cases (5/6) (push) Has been skipped
CI / Deep Native Runtime Cases (6/6) (push) Has been skipped
CI / Deep Native Runtime Cases (4/6) (push) Has been skipped
CI / Deep Graph Build Perf (push) Has been skipped
CI / Deep Native Runtime Cases (1/6) (push) Has been skipped
CI / Native Preflight (push) Failing after 1s
CI / Native Runtime Cases (1/2) (push) Failing after 0s
CI / Native Runtime Cases (2/2) (push) Failing after 1s
CI / Native Metadata Reports (push) Failing after 0s
CI / Native Direct Backend Artifacts (push) Failing after 0s
CI / Native Sanitizer Smoke (push) Failing after 1s
CI / Command Contract Snapshots (push) Failing after 1s
CI / Deep Conformance Suite (push) Has been skipped
CI / Graph Build Perf (push) Failing after 1s
CI / Deep Native Preflight (push) Has been skipped
CI / Deep Native Runtime Cases (2/6) (push) Has been skipped
CI / Deep Native Runtime Cases (3/6) (push) Has been skipped
CI / Conformance Suite (push) Failing after 1s
CI / Workspace Checks (push) Failing after 0s
CI / Deep Native Runtime Cases (5/6) (push) Has been skipped
CI / Deep Native Runtime Cases (6/6) (push) Has been skipped
CI / Deep Native Runtime Cases (4/6) (push) Has been skipped
CI / Deep Graph Build Perf (push) Has been skipped
This commit is contained in:
@@ -0,0 +1,370 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
schedule:
|
||||
- cron: "17 9 * * *"
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
validation_depth:
|
||||
description: Validation depth to run
|
||||
required: true
|
||||
default: fast
|
||||
type: choice
|
||||
options:
|
||||
- fast
|
||||
- deep
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
conformance-suite:
|
||||
name: Conformance Suite
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
|
||||
- name: Enable pnpm
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare pnpm@11.1.3 --activate
|
||||
|
||||
- name: Install pinned Zig
|
||||
run: bash scripts/install-zig.sh
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Conformance suite
|
||||
env:
|
||||
ZERO_VALIDATION_PHASES: graph-input-policy,native-contracts,provenance-guardrails,type-core-smoke,mir-verifier-smoke,program-graph-smoke,canonical-text-smoke,examples-gate,conformance-run
|
||||
ZERO_VALIDATION_JOBS: "4"
|
||||
ZERO_CONFORMANCE_CHECK_JOBS: "4"
|
||||
run: pnpm run conformance:local
|
||||
|
||||
native-preflight:
|
||||
name: Native Preflight
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
|
||||
- name: Enable pnpm
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare pnpm@11.1.3 --activate
|
||||
|
||||
- name: Install pinned Zig
|
||||
run: bash scripts/install-zig.sh
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Native preflight
|
||||
env:
|
||||
ZERO_NATIVE_TEST_PHASES: preflight
|
||||
ZERO_NATIVE_TEST_SCOPE: fast
|
||||
run: pnpm run native:test:local
|
||||
|
||||
native-runtime-cases:
|
||||
name: Native Runtime Cases (${{ matrix.shard }}/2)
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
shard: [1, 2]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
|
||||
- name: Enable pnpm
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare pnpm@11.1.3 --activate
|
||||
|
||||
- name: Install pinned Zig
|
||||
run: bash scripts/install-zig.sh
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Native tests
|
||||
env:
|
||||
ZERO_NATIVE_TEST_PHASES: cases
|
||||
ZERO_NATIVE_TEST_SCOPE: fast
|
||||
ZERO_NATIVE_TEST_SHARD: "${{ matrix.shard }}/2"
|
||||
run: pnpm run native:test:local
|
||||
|
||||
native-metadata-reports:
|
||||
name: Native Metadata Reports
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
|
||||
- name: Enable pnpm
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare pnpm@11.1.3 --activate
|
||||
|
||||
- name: Install pinned Zig
|
||||
run: bash scripts/install-zig.sh
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Native metadata and reports
|
||||
env:
|
||||
ZERO_NATIVE_TEST_PHASES: metadata-and-reports
|
||||
run: pnpm run native:test:local
|
||||
|
||||
native-direct-backend-artifacts:
|
||||
name: Native Direct Backend Artifacts
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
|
||||
- name: Enable pnpm
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare pnpm@11.1.3 --activate
|
||||
|
||||
- name: Install pinned Zig
|
||||
run: bash scripts/install-zig.sh
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Native direct backend artifacts
|
||||
env:
|
||||
ZERO_NATIVE_TEST_PHASES: direct-backend-artifacts
|
||||
run: pnpm run native:test:local
|
||||
|
||||
native-sanitizer-smoke:
|
||||
name: Native Sanitizer Smoke
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
|
||||
- name: Enable pnpm
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare pnpm@11.1.3 --activate
|
||||
|
||||
- name: Install pinned Zig
|
||||
run: bash scripts/install-zig.sh
|
||||
|
||||
- name: Native sanitizer smoke
|
||||
run: pnpm run native:sanitize
|
||||
|
||||
command-contract-snapshots:
|
||||
name: Command Contract Snapshots
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
|
||||
- name: Enable pnpm
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare pnpm@11.1.3 --activate
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Install pinned Zig
|
||||
run: bash scripts/install-zig.sh
|
||||
|
||||
- name: Build native compiler
|
||||
run: make -C native/zero-c
|
||||
|
||||
- name: Command contract snapshots
|
||||
run: pnpm run command-contracts:local
|
||||
|
||||
graph-build-perf:
|
||||
name: Graph Build Perf
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
|
||||
- name: Enable pnpm
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare pnpm@11.1.3 --activate
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Graph build perf report
|
||||
env:
|
||||
ZERO_GRAPH_BUILD_PERF_CASES: hello-artifact,stdlib-heavy-artifact
|
||||
run: |
|
||||
mkdir -p .zero
|
||||
set +e
|
||||
pnpm run graph:perf:budgets > .zero/graph-build-perf.json
|
||||
status=$?
|
||||
cat .zero/graph-build-perf.json
|
||||
exit $status
|
||||
|
||||
deep-conformance-suite:
|
||||
name: Deep Conformance Suite
|
||||
if: ${{ github.event_name == 'schedule' || github.event.inputs.validation_depth == 'deep' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
|
||||
- name: Enable pnpm
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare pnpm@11.1.3 --activate
|
||||
|
||||
- name: Install pinned Zig
|
||||
run: bash scripts/install-zig.sh
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Deep conformance suite
|
||||
env:
|
||||
ZERO_VALIDATION_JOBS: "4"
|
||||
ZERO_CONFORMANCE_CHECK_JOBS: "4"
|
||||
run: pnpm run conformance:local
|
||||
|
||||
deep-native-preflight:
|
||||
name: Deep Native Preflight
|
||||
if: ${{ github.event_name == 'schedule' || github.event.inputs.validation_depth == 'deep' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
|
||||
- name: Enable pnpm
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare pnpm@11.1.3 --activate
|
||||
|
||||
- name: Install pinned Zig
|
||||
run: bash scripts/install-zig.sh
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Deep native preflight
|
||||
env:
|
||||
ZERO_NATIVE_TEST_PHASES: preflight
|
||||
ZERO_NATIVE_TEST_SCOPE: deep
|
||||
run: pnpm run native:test:local
|
||||
|
||||
deep-native-runtime-cases:
|
||||
name: Deep Native Runtime Cases (${{ matrix.shard }}/6)
|
||||
if: ${{ github.event_name == 'schedule' || github.event.inputs.validation_depth == 'deep' }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
shard: [1, 2, 3, 4, 5, 6]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
|
||||
- name: Enable pnpm
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare pnpm@11.1.3 --activate
|
||||
|
||||
- name: Install pinned Zig
|
||||
run: bash scripts/install-zig.sh
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Deep native tests
|
||||
env:
|
||||
ZERO_NATIVE_TEST_PHASES: cases
|
||||
ZERO_NATIVE_TEST_SCOPE: deep
|
||||
ZERO_NATIVE_TEST_SHARD: "${{ matrix.shard }}/6"
|
||||
run: pnpm run native:test:local
|
||||
|
||||
deep-graph-build-perf:
|
||||
name: Deep Graph Build Perf
|
||||
if: ${{ github.event_name == 'schedule' || github.event.inputs.validation_depth == 'deep' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
|
||||
- name: Enable pnpm
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare pnpm@11.1.3 --activate
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Deep graph build perf report
|
||||
run: |
|
||||
mkdir -p .zero
|
||||
set +e
|
||||
pnpm run graph:perf:budgets > .zero/deep-graph-build-perf.json
|
||||
status=$?
|
||||
cat .zero/deep-graph-build-perf.json
|
||||
exit $status
|
||||
|
||||
workspace-checks:
|
||||
name: Workspace Checks
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
|
||||
- name: Enable pnpm
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare pnpm@11.1.3 --activate
|
||||
|
||||
- name: Install pinned Zig
|
||||
run: bash scripts/install-zig.sh
|
||||
|
||||
- run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Workspace checks
|
||||
env:
|
||||
VERCEL_OIDC_TOKEN: ${{ secrets.VERCEL_OIDC_TOKEN }}
|
||||
run: pnpm run workspace:checks
|
||||
Reference in New Issue
Block a user