Auto merge of #29793 - servo:layout-2020-nightly-builds, r=atbrakhi

Upload nightly builds for layout2020 variant

<!-- Please describe your changes on the following line: -->
We'd like to start offering servo nightly builds with layout 2020 engine so that users can test the new layout without building servo. These new builds will be offered in addition to the current 2013 builds until we switch over to 2020 as the default.

---
<!-- 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 extend 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. -->
This commit is contained in:
bors-servo 2023-05-25 11:26:07 +02:00 committed by GitHub
commit e5004aaab1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 39 additions and 3 deletions

View file

@ -88,7 +88,7 @@ jobs:
- name: Upload
if: ${{ inputs.upload }}
run: |
python3 ./mach upload-nightly mac --secret-from-environment \
python3 ./mach upload-nightly ${{ env.PACKAGE }} --secret-from-environment \
--github-release-id ${{ inputs.github-release-id }}
env:
S3_UPLOAD_CREDENTIALS: ${{ secrets.S3_UPLOAD_CREDENTIALS }}

View file

@ -59,8 +59,11 @@ jobs:
needs:
- create-draft-release
- upload-linux
- upload-linux-2020
- upload-win
- upload-win-2020
- upload-mac
- upload-mac-2020
upload-win:
# This job is only useful when run on upstream servo.
@ -75,6 +78,19 @@ jobs:
github-release-id: ${{ needs.create-draft-release.outputs.release-id }}
secrets: inherit
upload-win-2020:
# This job is only useful when run on upstream servo.
if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
name: Upload nightly (Windows layout-2020)
needs:
- create-draft-release
uses: ./.github/workflows/windows.yml
with:
layout: '2020'
upload: true
github-release-id: ${{ needs.create-draft-release.outputs.release-id }}
secrets: inherit
upload-mac:
# This job is only useful when run on upstream servo.
if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
@ -88,6 +104,19 @@ jobs:
github-release-id: ${{ needs.create-draft-release.outputs.release-id }}
secrets: inherit
upload-mac-2020:
# This job is only useful when run on upstream servo.
if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
name: Upload nightly (macOS layout-2020)
needs:
- create-draft-release
uses: ./.github/workflows/mac.yml
with:
layout: '2020'
upload: true
github-release-id: ${{ needs.create-draft-release.outputs.release-id }}
secrets: inherit
upload-linux:
# This job is only useful when run on upstream servo.
if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
@ -104,7 +133,7 @@ jobs:
upload-linux-2020:
# This job is only useful when run on upstream servo.
if: github.repository == 'servo/servo' || github.event_name == 'workflow_dispatch'
name: Upload nightly (Linux layout2020)
name: Upload nightly (Linux layout-2020)
needs:
- create-draft-release
uses: ./.github/workflows/linux.yml

View file

@ -98,7 +98,7 @@ jobs:
if: ${{ inputs.upload }}
working-directory: "C:\\a\\${{ github.event.repository.name }}\\${{ github.event.repository.name }}"
run: |
python mach upload-nightly windows-msvc --secret-from-environment `
python mach upload-nightly ${{ env.PACKAGE }} --secret-from-environment `
--github-release-id ${{ inputs.github-release-id }}
env:
S3_UPLOAD_CREDENTIALS: ${{ secrets.S3_UPLOAD_CREDENTIALS }}

View file

@ -61,6 +61,9 @@ PACKAGES = {
'mac': [
'target/release/servo-tech-demo.dmg',
],
'mac-layout2020': [
'target/release/servo-tech-demo.dmg',
],
'macbrew': [
'target/release/brew/servo.tar.gz',
],
@ -72,6 +75,10 @@ PACKAGES = {
r'target\release\msi\Servo.exe',
r'target\release\msi\Servo.zip',
],
'windows-msvc-layout2020': [
r'target\release\msi\Servo.exe',
r'target\release\msi\Servo.zip',
],
'uwp': [
r'support\hololens\AppPackages\ServoApp\FirefoxReality.zip',
],