mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Auto merge of #29244 - delan:disable-macos-wpt, r=mrobinson
CI: disable mac-wpt job in main workflow In theory, the new mac-wpt jobs added in #29201 are harmless since they aren’t required for the main workflow to succeed, but in practice, the runners are so slow to assign and run that they break the build. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because they affect the CI configuration
This commit is contained in:
commit
f594b60ea5
1 changed files with 55 additions and 55 deletions
110
.github/workflows/main.yml
vendored
110
.github/workflows/main.yml
vendored
|
@ -157,62 +157,62 @@ jobs:
|
||||||
name: release-binary-macos
|
name: release-binary-macos
|
||||||
path: target.tar.gz
|
path: target.tar.gz
|
||||||
|
|
||||||
mac-wpt:
|
# mac-wpt:
|
||||||
name: Mac WPT Tests
|
# name: Mac WPT Tests
|
||||||
runs-on: macos-12
|
# runs-on: macos-12
|
||||||
needs: ["build-mac"]
|
# needs: ["build-mac"]
|
||||||
env:
|
# env:
|
||||||
max_chunk_id: 20
|
# max_chunk_id: 20
|
||||||
strategy:
|
# strategy:
|
||||||
fail-fast: false
|
# 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]
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v3
|
# - uses: actions/checkout@v3
|
||||||
with:
|
# with:
|
||||||
fetch-depth: 2
|
# fetch-depth: 2
|
||||||
- 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
|
||||||
# Homebrew's Python 3.10 formula (servo/rust-mozjs#559) is fixed
|
# # Homebrew's Python 3.10 formula (servo/rust-mozjs#559) is fixed
|
||||||
- name: Select Python 3.9
|
# - name: Select Python 3.9
|
||||||
run: |
|
# run: |
|
||||||
brew install python@3.9
|
# brew install python@3.9
|
||||||
cd $(dirname $(which python3.9))
|
# cd $(dirname $(which python3.9))
|
||||||
rm -f python3 pip3
|
# rm -f python3 pip3
|
||||||
ln -s python3.9 python3
|
# ln -s python3.9 python3
|
||||||
ln -s pip3.9 pip3
|
# ln -s pip3.9 pip3
|
||||||
- name: Prep test environment
|
# - name: Prep test environment
|
||||||
run: |
|
# run: |
|
||||||
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
|
||||||
- name: Smoketest
|
# - name: Smoketest
|
||||||
run: python3 ./mach smoketest
|
# run: python3 ./mach smoketest
|
||||||
- name: Run tests
|
# - name: Run tests
|
||||||
run: |
|
# run: |
|
||||||
python3 ./mach test-wpt \
|
# python3 ./mach test-wpt \
|
||||||
--release --processes $(sysctl -n hw.logicalcpu) --timeout-multiplier 8 \
|
# --release --processes $(sysctl -n hw.logicalcpu) --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.${{ 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
|
||||||
python3 ./mach filter-intermittents wpt-jsonsummary.${{ matrix.chunk_id }}.log \
|
# python3 ./mach filter-intermittents wpt-jsonsummary.${{ matrix.chunk_id }}.log \
|
||||||
--log-intermittents=intermittents.${{ matrix.chunk_id }}.log \
|
# --log-intermittents=intermittents.${{ matrix.chunk_id }}.log \
|
||||||
--log-filteredsummary=filtered-wpt-summary.${{ matrix.chunk_id }}.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() }}
|
# if: ${{ failure() }}
|
||||||
with:
|
# with:
|
||||||
name: wpt${{ matrix.chunk_id }}-logs-macos
|
# name: wpt${{ matrix.chunk_id }}-logs-macos
|
||||||
path: |
|
# path: |
|
||||||
test-wpt.${{ matrix.chunk_id }}.log
|
# test-wpt.${{ matrix.chunk_id }}.log
|
||||||
wpt-jsonsummary.${{ matrix.chunk_id }}.log
|
# wpt-jsonsummary.${{ matrix.chunk_id }}.log
|
||||||
filtered-wpt-summary.${{ matrix.chunk_id }}.log
|
# filtered-wpt-summary.${{ matrix.chunk_id }}.log
|
||||||
intermittents.${{ matrix.chunk_id }}.log
|
# intermittents.${{ matrix.chunk_id }}.log
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
name: Build (Linux)
|
name: Build (Linux)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue