Add boost-regex based envsubst implementation #29
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: Bloaty Action | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- src/** | |
pull_request: | |
paths: | |
- src/** | |
workflow_dispatch: | |
jobs: | |
bloaty-job: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/bounverif/boostdevel:latest | |
credentials: | |
username: ${{ github.actor }} | |
password: ${{ secrets.github_token }} | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v4 | |
- name: Configure and build this project | |
uses: threeal/cmake-action@latest | |
with: | |
build-dir: build | |
args: -DCMAKE_BUILD_TYPE=RELEASE | |
- name: Run Bloaty McBloatface on an ELF file | |
uses: carlosperate/[email protected] | |
id: bloaty-action | |
with: | |
bloaty-args: build/librvstd.a -d armembers | |
- name: Add a PR comment with the bloaty output | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: '```\n${{ steps.bloaty-action.outputs.bloaty-output-encoded }}```\n' | |
}) | |
if: github.event_name == 'pull_request' |