build(deps): bump pygithub from 1.59.0 to 2.1.1 in /.github/actions/pr_notifier #333
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: mobile_perf | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ${{ github.head_ref || github.run_id }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
sizecurrent: | |
if: ${{ github.repository == 'envoyproxy/envoy' }} | |
name: size_current | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 120 | |
container: | |
image: ${{ needs.env.outputs.build_image_ubuntu }} | |
env: | |
CC: /opt/llvm/bin/clang | |
CXX: /opt/llvm/bin/clang++ | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Add safe directory | |
run: git config --global --add safe.directory /__w/envoy/envoy | |
- name: 'Build test binary' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
cd mobile && ./bazelw build \ | |
--config=sizeopt \ | |
--config=release-common \ | |
--config=remote-ci-linux-clang \ | |
//test/performance:test_binary_size | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: sizecurrent | |
path: mobile/bazel-bin/test/performance/test_binary_size | |
sizemain: | |
if: ${{ github.repository == 'envoyproxy/envoy' }} | |
name: size_main | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 90 | |
container: | |
image: ${{ needs.env.outputs.build_image_ubuntu }} | |
env: | |
CC: /opt/llvm/bin/clang | |
CXX: /opt/llvm/bin/clang++ | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Add safe directory | |
run: | | |
git config --global --add safe.directory /__w/envoy/envoy | |
- name: 'Build test binary' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
git checkout main && git pull origin main | |
cd mobile && ./bazelw build \ | |
--config=sizeopt \ | |
--config=release-common \ | |
--config=remote-ci-linux-clang \ | |
//test/performance:test_binary_size | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: sizemain | |
path: mobile/bazel-bin/test/performance/test_binary_size | |
sizecompare: | |
if: ${{ github.repository == 'envoyproxy/envoy' }} | |
needs: | |
- sizecurrent | |
- sizemain | |
name: size_compare | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 30 | |
container: | |
image: ${{ needs.env.outputs.build_image_ubuntu }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/download-artifact@v3 | |
with: | |
name: sizecurrent | |
path: dist/sizecurrent | |
- uses: actions/download-artifact@v3 | |
with: | |
name: sizemain | |
path: dist/sizemain | |
- name: 'Strip and Zip binary' | |
run: | | |
ls -lh dist/ | |
strip -s -o dist/main.stripped dist/sizemain/test_binary_size | |
strip -s -o dist/current.stripped dist/sizecurrent/test_binary_size | |
zip -9 dist/main.zip dist/main.stripped | |
zip -9 dist/current.zip dist/current.stripped | |
- name: 'Test size regression' | |
run: cd mobile && ./ci/test_size_regression.sh ../dist/main.zip ../dist/current.zip |