Skip to content

Commit

Permalink
More speed
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Oct 3, 2022
1 parent 23f12af commit 83292eb
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -504,20 +504,21 @@ jobs:
run: |
cd babel-test262-runner
npm ci
node lib/prepare-chunks 4 > ~/test262-chunks.json
node lib/prepare-chunks 8 > ~/test262-chunks.json
env:
TEST262_PATH: ../build/test262
- name: Upload chunks artifact
uses: actions/upload-artifact@v3
with:
name: test262-chunks
path: ~/test262-chunks.json
retention-days: 3

test262:
name: test262
strategy:
matrix:
chunk: [0, 1, 2, 3]
chunk: [0, 1, 2, 3, 4, 5, 6, 7]
runs-on: ubuntu-latest
needs: [build, test262-prepare]
steps:
Expand Down Expand Up @@ -564,6 +565,7 @@ jobs:
with:
name: test262-result-${{ matrix.chunk }}
path: ~/test262-${{ matrix.chunk }}.tap
retention-days: 3

test262-finish:
name: test262 - Analyze results
Expand All @@ -582,9 +584,26 @@ jobs:
- uses: actions/download-artifact@v3
with:
name: test262-result-3
- uses: actions/download-artifact@v3
with:
name: test262-result-4
- uses: actions/download-artifact@v3
with:
name: test262-result-5
- uses: actions/download-artifact@v3
with:
name: test262-result-6
- uses: actions/download-artifact@v3
with:
name: test262-result-7
- uses: actions/download-artifact@v3
with:
name: test262-result-8
- name: Merge chunk results
run: |
cat test262-0.tap test262-1.tap test262-2.tap test262-3.tap | npx tap-merge > test262.tap
cat test262-0.tap test262-1.tap test262-2.tap test262-3.tap \
test262-4.tap test262-5.tap test262-6.tap test262-7.tap \
| npx tap-merge > test262.tap
- name: Create artifact with report results
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 83292eb

Please sign in to comment.