mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
chore(ci): move jobs.<job_id>.{strategy.matrix -> env}.max_chunk_id
This commit is contained in:
parent
f369f36ec4
commit
36f33ab02c
1 changed files with 6 additions and 4 deletions
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
|
@ -126,9 +126,10 @@ jobs:
|
||||||
# mac-wpt:
|
# mac-wpt:
|
||||||
# #needs: build-mac
|
# #needs: build-mac
|
||||||
# runs-on: macos-10.15
|
# runs-on: macos-10.15
|
||||||
|
# env:
|
||||||
|
# max_chunk_id: 20
|
||||||
# strategy:
|
# strategy:
|
||||||
# matrix:
|
# matrix:
|
||||||
# max_chunk_id: [20]
|
|
||||||
# chunk_id: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
|
# chunk_id: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
|
||||||
# steps:
|
# steps:
|
||||||
# - uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
|
@ -157,7 +158,7 @@ jobs:
|
||||||
# run: |
|
# run: |
|
||||||
# python3 ./mach test-wpt \
|
# python3 ./mach test-wpt \
|
||||||
# --release --processes=3 --timeout-multiplier=8 \
|
# --release --processes=3 --timeout-multiplier=8 \
|
||||||
# --total-chunks=${{ matrix.max_chunk_id }} --this-chunk=${{ matrix.chunk_id }} \
|
# --total-chunks=${{ env.max_chunk_id }} --this-chunk=${{ matrix.chunk_id }} \
|
||||||
# --log-raw=test-wpt.log \
|
# --log-raw=test-wpt.log \
|
||||||
# --log-servojson=wpt-jsonsummary.log \
|
# --log-servojson=wpt-jsonsummary.log \
|
||||||
# --always-succeed | cat
|
# --always-succeed | cat
|
||||||
|
@ -206,9 +207,10 @@ jobs:
|
||||||
name: Linux WPT Tests
|
name: Linux WPT Tests
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
needs: ["build-linux"]
|
needs: ["build-linux"]
|
||||||
|
env:
|
||||||
|
max_chunk_id: 20
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
max_chunk_id: [20]
|
|
||||||
chunk_id: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
|
chunk_id: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -232,7 +234,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python3 ./mach test-wpt \
|
python3 ./mach test-wpt \
|
||||||
--release --processes $(nproc) --timeout-multiplier 2 \
|
--release --processes $(nproc) --timeout-multiplier 2 \
|
||||||
--total-chunks ${{ matrix.max_chunk_id }} --this-chunk ${{ matrix.chunk_id }} \
|
--total-chunks ${{ env.max_chunk_id }} --this-chunk ${{ matrix.chunk_id }} \
|
||||||
--log-raw test-wpt.${{ matrix.chunk_id }}.log \
|
--log-raw test-wpt.${{ matrix.chunk_id }}.log \
|
||||||
--log-servojson wpt-jsonsummary.${{ matrix.chunk_id }}.log \
|
--log-servojson wpt-jsonsummary.${{ matrix.chunk_id }}.log \
|
||||||
--always-succeed
|
--always-succeed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue