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/

Signed-off-by: Mukilan Thiyagarajan <me@mukilan.in>
This commit is contained in:
Mukilan Thiyagarajan 2023-03-09 19:17:39 +05:30
parent cdede1dd68
commit 1b310224a5
2 changed files with 18 additions and 2 deletions

View file

@ -16,6 +16,19 @@ jobs:
if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
name: Upload nightly (Linux)
runs-on: ubuntu-20.04
strategy:
matrix:
layout-engine: ['2013', '2020']
include:
- layout-engine: '2013'
build-flag: '--with-layout-2013'
package: 'linux'
continue-on-error: false
- layout-engine: '2020'
build-flag: '--with-layout-2020'
package: 'linux-layout2020'
continue-on-error: true
continue-on-error: ${{ matrix.continue-on-error }}
steps:
- uses: actions/checkout@v3
with:
@ -26,11 +39,11 @@ jobs:
sudo apt update
python3 ./mach bootstrap
- name: Release build
run: python3 ./mach build --release
run: python3 ./mach build --release ${{ matrix.build-flag }}
- name: Package
run: python3 ./mach package --release
- name: Upload
run: python3 ./mach upload-nightly linux --secret-from-environment
run: python3 ./mach upload-nightly ${{ matrix.package }} --secret-from-environment
env:
S3_UPLOAD_CREDENTIALS: ${{ secrets.S3_UPLOAD_CREDENTIALS }}

View file

@ -54,6 +54,9 @@ PACKAGES = {
'linux': [
'target/release/servo-tech-demo.tar.gz',
],
'linux-layout2020': [
'target/release/servo-tech-demo.tar.gz',
],
'mac': [
'target/release/servo-tech-demo.dmg',
],