Skip to content

Commit 111363d

Browse files
authored
Auto merge of servo#29484 - mukilan:build-and-package-layout-2020, r=mrobinson
Package and upload linux w/ layout-2020 engine. The layout-2020 variant will be consumed by the internal WPT trend [dashboard][1] only and won't be made available on servo.org. This change will be removed once the layout engine we will use going forward is finalized. [1]: https://servo.github.io/internal-wpt-dashboard/ <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./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 modify the nightly CI job. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2 parents cdede1d + 1b31022 commit 111363d

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/workflows/nightly.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,19 @@ jobs:
1616
if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
1717
name: Upload nightly (Linux)
1818
runs-on: ubuntu-20.04
19+
strategy:
20+
matrix:
21+
layout-engine: ['2013', '2020']
22+
include:
23+
- layout-engine: '2013'
24+
build-flag: '--with-layout-2013'
25+
package: 'linux'
26+
continue-on-error: false
27+
- layout-engine: '2020'
28+
build-flag: '--with-layout-2020'
29+
package: 'linux-layout2020'
30+
continue-on-error: true
31+
continue-on-error: ${{ matrix.continue-on-error }}
1932
steps:
2033
- uses: actions/checkout@v3
2134
with:
@@ -26,11 +39,11 @@ jobs:
2639
sudo apt update
2740
python3 ./mach bootstrap
2841
- name: Release build
29-
run: python3 ./mach build --release
42+
run: python3 ./mach build --release ${{ matrix.build-flag }}
3043
- name: Package
3144
run: python3 ./mach package --release
3245
- name: Upload
33-
run: python3 ./mach upload-nightly linux --secret-from-environment
46+
run: python3 ./mach upload-nightly ${{ matrix.package }} --secret-from-environment
3447
env:
3548
S3_UPLOAD_CREDENTIALS: ${{ secrets.S3_UPLOAD_CREDENTIALS }}
3649

python/servo/package_commands.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
'linux': [
5555
'target/release/servo-tech-demo.tar.gz',
5656
],
57+
'linux-layout2020': [
58+
'target/release/servo-tech-demo.tar.gz',
59+
],
5760
'mac': [
5861
'target/release/servo-tech-demo.dmg',
5962
],

0 commit comments

Comments
 (0)