diff --git a/.github/workflows/pr-bloaty.yml b/.github/workflows/pr-bloaty.yml
index 149880a3a..84d79348b 100644
--- a/.github/workflows/pr-bloaty.yml
+++ b/.github/workflows/pr-bloaty.yml
@@ -29,17 +29,24 @@ jobs:
wget -O mbgl-render-legacy "$legacy_download_url"
wget -O mbgl-render-main "$main_download_url"
+ # because Google is not making a release...
+ # https://github.com/google/bloaty/issues/334
+ - name: Compile Bloaty
+ run: |
+ git clone https://github.com/google/bloaty.git
+ cmake -B bloaty/build -G Ninja -S bloaty
+ cmake --build bloaty/build
+
+ - name: Download legacy and main mbgl-render
+ run: |
+ wget -O mbgl-render-legacy "$legacy_download_url"
+ wget -O mbgl-render-main "$main_download_url"
+
- name: Run Bloaty McBloatface on legacy
- uses: carlosperate/bloaty-action@v1
- id: bloaty-legacy
- with:
- bloaty-args: mbgl-render -- mbgl-render-legacy -n 0 -s vm -d compileunits
+ run: bloaty/build/bloaty mbgl-render -- mbgl-render-legacy -n 0 -s vm -d compileunits > tlus_diff_legacy.txt
- name: Run Bloaty McBloatface on main
- uses: carlosperate/bloaty-action@v1
- id: bloaty-main
- with:
- bloaty-args: mbgl-render -- mbgl-render-main -n 0 -s vm -d compileunits
+ run: bloaty/build/bloaty mbgl-render -- mbgl-render-main -n 0 -s vm -d compileunits > tlus_diff_main.txt
- name: Prepare Bloaty message
run: |
@@ -47,11 +54,11 @@ jobs:
echo "# Bloaty Results 🐋"
echo 'Compared to d38709084a9865fe0bb8300aec70ebf8243b3d43
'
echo '```'
- ${{ steps.bloaty-legacy.outputs.bloaty-output }}
+ cat tlus_diff_legacy.txt
echo '``` '
echo 'Compared to main
'
echo '```'
- ${{ steps.bloaty-main.outputs.bloaty-output }}
+ cat tlus_diff_main.txt
echo '``` '
} >> message.md