Skip to content

Commit

Permalink
github: Switch size-diff from make to meson
Browse files Browse the repository at this point in the history
  • Loading branch information
ALTracer committed Oct 19, 2024
1 parent d896778 commit 04de3be
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -512,11 +512,22 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
path: head

# Install and setup a suitable Meson + Ninja
- name: Setup Meson + Ninja
run: |
sudo python3 -m pip install --upgrade pip setuptools wheel
sudo python3 -m pip install meson ninja
working-directory: ${{ runner.temp }}

- name: Build base
run: make -C base > base/build.log
run: |
meson setup base/build-native base --cross-file base/cross-file/native.ini
meson compile -C base/build-native bin > base/build.log
- name: Build head
run: make -C head > head/build.log
run: |
meson setup head/build-native head --cross-file head/cross-file/native.ini
meson compile -C head/build-native bin > head/build.log
- name: Diff
run: head/scripts/diff_size.py base/build.log head/build.log

0 comments on commit 04de3be

Please sign in to comment.