mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
feat: Track the binary size for all the different platforms (#34744)
* feat: Track the binary size for all the different platforms Signed-off-by: DK Liao <dklassic@gmail.com> * Add target to bencher job name Signed-off-by: DK Liao <dklassic@gmail.com> * Update .github/workflows/bencher.yml Co-authored-by: Martin Robinson <mrobinson@igalia.com> Signed-off-by: DK Liao <dklassic@gmail.com> --------- Signed-off-by: DK Liao <dklassic@gmail.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
c070372d1e
commit
9ceb957dd8
11 changed files with 365 additions and 153 deletions
30
.github/workflows/mac.yml
vendored
30
.github/workflows/mac.yml
vendored
|
@ -26,9 +26,13 @@ on:
|
|||
required: false
|
||||
type: string
|
||||
force-github-hosted-runner:
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
bencher:
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
type: boolean
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
profile:
|
||||
|
@ -53,9 +57,13 @@ on:
|
|||
default: false
|
||||
type: boolean
|
||||
force-github-hosted-runner:
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
bencher:
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
type: boolean
|
||||
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
|
@ -155,13 +163,13 @@ jobs:
|
|||
- name: Archive build timing
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: cargo-timings-macos
|
||||
name: cargo-timings-macos-${{ inputs.profile }}
|
||||
# Using a wildcard here ensures that the archive includes the path.
|
||||
path: target/cargo-timings-*
|
||||
- name: Upload artifact for mach package
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: mac
|
||||
name: ${{ inputs.profile }}-binary-mac
|
||||
path: target/${{ inputs.profile }}/servo-tech-demo.dmg
|
||||
- name: Upload nightly
|
||||
if: ${{ inputs.upload }}
|
||||
|
@ -202,3 +210,17 @@ jobs:
|
|||
wpt-layout: "layout-2013"
|
||||
wpt-args: ${{ inputs.wpt-args }}
|
||||
secrets: inherit
|
||||
|
||||
bencher:
|
||||
needs: ["build"]
|
||||
if: ${{ inputs.bencher && inputs.profile != 'debug' && github.event_name != 'workflow_dispatch' && github.event_name != 'merge_group' }}
|
||||
uses: ./.github/workflows/bencher.yml
|
||||
with:
|
||||
target: 'macos'
|
||||
profile: ${{ inputs.profile }}
|
||||
compressed-file-path: ${{ inputs.profile }}-binary-macos/target.tar.gz
|
||||
binary-path: target/${{ inputs.profile }}/servo
|
||||
file-size: true
|
||||
speedometer: false
|
||||
dromaeo: false
|
||||
secrets: inherit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue