Do not expose Celerity internals in installed headers #690
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: Celerity Performance Check | |
on: pull_request | |
jobs: | |
check-perf-impact: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' | |
- name: Install plot generation dependencies | |
run: | | |
sudo apt-get install libmagickwand-dev | |
gem install gruff | |
- name: Find previous perf comment | |
uses: peter-evans/find-comment@v3 | |
id: fc | |
with: | |
issue-number: ${{ github.event.number }} | |
body-includes: "Check-perf-impact results" | |
direction: last | |
- name: Analyze performance impact | |
id: analysis | |
run: ruby ./ci/check-perf-impact.rb | |
env: | |
PREV_COMMENT_BODY: ${{ steps.fc.outputs.comment-body }} | |
- if: steps.analysis.outputs.done != 'true' | |
name: Upload boxplots to imgur | |
id: imgur_step | |
uses: devicons/[email protected] | |
with: | |
path: box_*.png | |
client_id: ${{secrets.IMGUR_CLIENT_ID}} | |
- if: steps.analysis.outputs.done != 'true' | |
name: Add images to message | |
env: | |
PLOT_IMG_URLS: ${{ steps.imgur_step.outputs.imgur_urls }} | |
run: ruby ./ci/check-perf-impact.rb | |
- if: steps.analysis.outputs.done != 'true' | |
name: Report performance impact | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
filePath: check_perf_message.txt |