Skip to content

Commit 84af56a

Browse files
committed
ci: split proof
1 parent 9613213 commit 84af56a

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

‎.github/workflows/split-proof.yml‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: split-proof
2+
on: push
3+
jobs:
4+
proof:
5+
runs-on: windows-latest
6+
strategy:
7+
fail-fast: false
8+
matrix: { n: [1, 2, 3, 4] }
9+
steps:
10+
- shell: pwsh
11+
continue-on-error: true
12+
run: Set-MpPreference -DisableRealtimeMonitoring $true
13+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
14+
with: { lfs: true }
15+
- uses: ./.github/actions/install-ffmpeg-windows
16+
- shell: pwsh
17+
run: |
18+
$path = (Get-Command ffmpeg.exe).Source
19+
"FFMPEG_BIN=$path" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
20+
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6
21+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
22+
with: { node-version: 22 }
23+
- shell: pwsh
24+
run: bun install --frozen-lockfile --linker=hoisted
25+
- shell: pwsh
26+
run: |
27+
bun run --filter '@hyperframes/{parsers,lint,studio-server}' build
28+
bun run --cwd packages/core build
29+
- shell: pwsh
30+
run: node --import tsx packages/cli/scripts/prepare-process-test-browser.mjs
31+
- shell: pwsh
32+
run: |
33+
for ($i = 1; $i -le 3; $i++) {
34+
"=== RUN $i"
35+
bun run --filter @hyperframes/engine test -- --maxWorkers=2 --reporter=verbose 2>&1 | Select-String -Pattern "Hook timed out|FAIL|Test Files|Tests |Duration" | ForEach-Object { $_.Line }
36+
}

0 commit comments

Comments
 (0)