mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
CI: align (most) of mac-wpt job with linux-wpt
This commit is contained in:
parent
a24b12f5bf
commit
83c86a56f4
1 changed files with 17 additions and 16 deletions
33
.github/workflows/main.yml
vendored
33
.github/workflows/main.yml
vendored
|
@ -73,11 +73,13 @@ jobs:
|
||||||
path: target.tar.gz
|
path: target.tar.gz
|
||||||
|
|
||||||
mac-wpt:
|
mac-wpt:
|
||||||
needs: build-mac
|
name: Mac WPT Tests
|
||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
|
needs: ["build-mac"]
|
||||||
env:
|
env:
|
||||||
max_chunk_id: 20
|
max_chunk_id: 20
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
# 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]
|
||||||
chunk_id: [1]
|
chunk_id: [1]
|
||||||
|
@ -85,8 +87,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
- name: Download release binary
|
- uses: actions/download-artifact@v3
|
||||||
uses: actions/download-artifact@v3
|
|
||||||
with:
|
with:
|
||||||
name: release-binary-macos
|
name: release-binary-macos
|
||||||
# TODO: Remove this step when the compatibility issue between mozjs and
|
# TODO: Remove this step when the compatibility issue between mozjs and
|
||||||
|
@ -100,7 +101,6 @@ jobs:
|
||||||
ln -s pip3.9 pip3
|
ln -s pip3.9 pip3
|
||||||
- name: Prep test environment
|
- name: Prep test environment
|
||||||
run: |
|
run: |
|
||||||
brew install gnu-tar
|
|
||||||
gtar -xzf target.tar.gz
|
gtar -xzf target.tar.gz
|
||||||
python3 -m pip install --upgrade pip virtualenv
|
python3 -m pip install --upgrade pip virtualenv
|
||||||
brew bundle install --verbose --no-upgrade --file=etc/taskcluster/macos/Brewfile
|
brew bundle install --verbose --no-upgrade --file=etc/taskcluster/macos/Brewfile
|
||||||
|
@ -109,25 +109,26 @@ jobs:
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
python3 ./mach test-wpt \
|
python3 ./mach test-wpt \
|
||||||
--release --processes=3 --timeout-multiplier=8 \
|
--release --processes $(nproc) --timeout-multiplier 8 \
|
||||||
--total-chunks=${{ env.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.${{ matrix.chunk_id }}.log \
|
||||||
--log-servojson=wpt-jsonsummary.log \
|
--log-servojson wpt-jsonsummary.${{ matrix.chunk_id }}.log \
|
||||||
--always-succeed | cat
|
--always-succeed
|
||||||
python3 ./mach filter-intermittents wpt-jsonsummary.log \
|
python3 ./mach filter-intermittents wpt-jsonsummary.${{ matrix.chunk_id }}.log \
|
||||||
--log-intermittents=intermittents.log \
|
--log-intermittents=intermittents.${{ matrix.chunk_id }}.log \
|
||||||
--log-filteredsummary=filtered-wpt-summary.log \
|
--log-filteredsummary=filtered-wpt-summary.${{ matrix.chunk_id }}.log \
|
||||||
--tracker-api=default --reporter-api=default
|
--tracker-api=default --reporter-api=default
|
||||||
|
|
||||||
- name: Archive logs
|
- name: Archive logs
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
if: ${{ failure() }}
|
||||||
with:
|
with:
|
||||||
name: wpt${{ matrix.chunk_id }}-logs-macos
|
name: wpt${{ matrix.chunk_id }}-logs-macos
|
||||||
path: |
|
path: |
|
||||||
test-wpt.log
|
test-wpt.${{ matrix.chunk_id }}.log
|
||||||
wpt-jsonsummary.log
|
wpt-jsonsummary.${{ matrix.chunk_id }}.log
|
||||||
filtered-wpt-summary.log
|
filtered-wpt-summary.${{ matrix.chunk_id }}.log
|
||||||
intermittents.log
|
intermittents.${{ matrix.chunk_id }}.log
|
||||||
|
|
||||||
build_result:
|
build_result:
|
||||||
name: homu build finished
|
name: homu build finished
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue