mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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:
parent
cdede1dd68
commit
1b310224a5
2 changed files with 18 additions and 2 deletions
17
.github/workflows/nightly.yml
vendored
17
.github/workflows/nightly.yml
vendored
|
@ -16,6 +16,19 @@ jobs:
|
||||||
if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
|
if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
|
||||||
name: Upload nightly (Linux)
|
name: Upload nightly (Linux)
|
||||||
runs-on: ubuntu-20.04
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
@ -26,11 +39,11 @@ jobs:
|
||||||
sudo apt update
|
sudo apt update
|
||||||
python3 ./mach bootstrap
|
python3 ./mach bootstrap
|
||||||
- name: Release build
|
- name: Release build
|
||||||
run: python3 ./mach build --release
|
run: python3 ./mach build --release ${{ matrix.build-flag }}
|
||||||
- name: Package
|
- name: Package
|
||||||
run: python3 ./mach package --release
|
run: python3 ./mach package --release
|
||||||
- name: Upload
|
- name: Upload
|
||||||
run: python3 ./mach upload-nightly linux --secret-from-environment
|
run: python3 ./mach upload-nightly ${{ matrix.package }} --secret-from-environment
|
||||||
env:
|
env:
|
||||||
S3_UPLOAD_CREDENTIALS: ${{ secrets.S3_UPLOAD_CREDENTIALS }}
|
S3_UPLOAD_CREDENTIALS: ${{ secrets.S3_UPLOAD_CREDENTIALS }}
|
||||||
|
|
||||||
|
|
|
@ -54,6 +54,9 @@ PACKAGES = {
|
||||||
'linux': [
|
'linux': [
|
||||||
'target/release/servo-tech-demo.tar.gz',
|
'target/release/servo-tech-demo.tar.gz',
|
||||||
],
|
],
|
||||||
|
'linux-layout2020': [
|
||||||
|
'target/release/servo-tech-demo.tar.gz',
|
||||||
|
],
|
||||||
'mac': [
|
'mac': [
|
||||||
'target/release/servo-tech-demo.dmg',
|
'target/release/servo-tech-demo.dmg',
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue