Track installer size across commits

This commit is contained in:
Fedor Indutny
2024-08-27 14:44:36 -04:00
committed by GitHub
parent 5a5b681b51
commit 2835934277
2 changed files with 120 additions and 0 deletions

View File

@@ -109,6 +109,14 @@ jobs:
env:
DISABLE_INSPECT_FUSE: on
SIGN_MACOS_SCRIPT: noop.sh
- name: Upload installer size
if: ${{ github.repository == 'signalapp/Signal-Desktop-Private' && github.ref == 'refs/heads/main' }}
run: |
node ts/scripts/dd-installer-size.js macos-arm64
node ts/scripts/dd-installer-size.js macos-x64
node ts/scripts/dd-installer-size.js macos-universal
env:
DD_API_KEY: ${{ secrets.DATADOG_API_KEY }}
- name: Rebuild native modules for x64
run: npm run electron:install-app-deps
- run: npm run test-release
@@ -169,6 +177,12 @@ jobs:
env:
DISABLE_INSPECT_FUSE: on
- name: Upload installer size
if: ${{ github.repository == 'signalapp/Signal-Desktop-Private' && github.ref == 'refs/heads/main' }}
run: node ts/scripts/dd-installer-size.js linux
env:
DD_API_KEY: ${{ secrets.DATADOG_API_KEY }}
- run: xvfb-run --auto-servernum npm run test-node
- run: xvfb-run --auto-servernum npm run test-electron
timeout-minutes: 5
@@ -247,6 +261,12 @@ jobs:
env:
DISABLE_INSPECT_FUSE: on
- name: Upload installer size
if: ${{ github.repository == 'signalapp/Signal-Desktop-Private' && github.ref == 'refs/heads/main' }}
run: node ts/scripts/dd-installer-size.js windows
env:
DD_API_KEY: ${{ secrets.DATADOG_API_KEY }}
- run: npm run test-electron
env:
ARTIFACTS_DIR: artifacts/windows