mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Merge branch 'master' into test-tidy-before-landing
This commit is contained in:
commit
eb2bc41d8b
525 changed files with 23809 additions and 7417 deletions
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
|
@ -35,6 +35,7 @@ jobs:
|
|||
});
|
||||
|
||||
build-win:
|
||||
if: contains(fromJSON('["auto", "try", "try-windows"]'), github.ref_name)
|
||||
name: Build (Windows)
|
||||
runs-on: windows-2019
|
||||
needs: ["decision"]
|
||||
|
@ -60,6 +61,7 @@ jobs:
|
|||
run: python mach smoketest --angle
|
||||
|
||||
build-mac:
|
||||
if: contains(fromJSON('["auto", "try", "try-mac"]'), github.ref_name)
|
||||
name: Build (macOS)
|
||||
runs-on: macos-12
|
||||
needs: ["decision"]
|
||||
|
@ -157,6 +159,7 @@ jobs:
|
|||
# filtered-wpt-summary.${{ matrix.chunk_id }}.log
|
||||
|
||||
build-linux:
|
||||
if: contains(fromJSON('["auto", "try", "try-linux", "try-wpt"]'), github.ref_name)
|
||||
name: Build (Linux)
|
||||
runs-on: ubuntu-20.04
|
||||
needs: ["decision"]
|
||||
|
@ -172,8 +175,6 @@ jobs:
|
|||
run: python3 ./mach build --release
|
||||
- name: Lockfile check
|
||||
run: ./etc/ci/lockfile_changed.sh
|
||||
- name: Forbidden panic check
|
||||
run: ./etc/ci/check_no_panic.sh
|
||||
- name: Tidy
|
||||
run: python3 ./mach test-tidy --no-progress --all
|
||||
- name: Package binary
|
||||
|
@ -185,6 +186,7 @@ jobs:
|
|||
path: target.tar.gz
|
||||
|
||||
linux-wpt:
|
||||
if: contains(fromJSON('["auto", "try", "try-wpt"]'), github.ref_name)
|
||||
name: Linux WPT Tests
|
||||
runs-on: ubuntu-20.04
|
||||
needs: ["build-linux"]
|
||||
|
@ -243,7 +245,7 @@ jobs:
|
|||
report_test_results:
|
||||
name: Reporting test results
|
||||
runs-on: ubuntu-latest
|
||||
if: always()
|
||||
if: "!cancelled() && success('build-linux') && contains(fromJSON('[\"auto\", \"try\", \"try-wpt\"]'), github.ref_name)"
|
||||
needs:
|
||||
- "linux-wpt"
|
||||
steps:
|
||||
|
@ -271,16 +273,20 @@ jobs:
|
|||
build_result:
|
||||
name: homu build finished
|
||||
runs-on: ubuntu-latest
|
||||
if: always()
|
||||
# needs all build to detect cancellation
|
||||
needs:
|
||||
- "decision"
|
||||
- "build-win"
|
||||
- "build-mac"
|
||||
- "build-linux"
|
||||
- "linux-wpt"
|
||||
# - "mac-wpt"
|
||||
|
||||
steps:
|
||||
- name: Mark the job as successful
|
||||
run: exit 0
|
||||
if: success()
|
||||
if: "!contains(join(needs.*.result, ','), 'failure') && !contains(join(needs.*.result, ','), 'cancelled')"
|
||||
- name: Mark the job as unsuccessful
|
||||
run: exit 1
|
||||
if: "!success()"
|
||||
if: contains(join(needs.*.result, ','), 'failure') || contains(join(needs.*.result, ','), 'cancelled')
|
||||
|
|
2
.github/workflows/quick-check.yml
vendored
2
.github/workflows/quick-check.yml
vendored
|
@ -32,3 +32,5 @@ jobs:
|
|||
run: python3 ./mach test-unit --release
|
||||
- name: Lockfile check
|
||||
run: ./etc/ci/lockfile_changed.sh
|
||||
- name: Release build (Layout 2020)
|
||||
run: python3 ./mach build --release --with-layout-2020
|
||||
|
|
2
.github/workflows/wpt-nightly.yml
vendored
2
.github/workflows/wpt-nightly.yml
vendored
|
@ -27,8 +27,6 @@ jobs:
|
|||
run: python3 ./mach build --release
|
||||
- name: Lockfile check
|
||||
run: ./etc/ci/lockfile_changed.sh
|
||||
- name: Forbidden panic check
|
||||
run: ./etc/ci/check_no_panic.sh
|
||||
- name: Package binary
|
||||
run: tar -czf target.tar.gz target/release/servo resources
|
||||
- name: Archive binary
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue