aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2024-09-25 12:11:44 +0200
committerBernd Schubert <bernd.schubert@fastmail.fm>2024-09-25 12:51:25 +0200
commitd637fe6f3ebda69f505b531deff33f5b2374a9e1 (patch)
treeb01b0b60de278c96b8e8b1ffec9cc3d26afbcb2f /.github
parent1690d43f7ff16475df658d36856f103ae4dfae6c (diff)
downloadlibfuse-d637fe6f3ebda69f505b531deff33f5b2374a9e1.tar.gz
ABI check: Use base commit / branch of a PR for ABI comparison
The base commit is needed for comparison when a PR has multiple commits.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/abicheck.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/.github/workflows/abicheck.yml b/.github/workflows/abicheck.yml
index 77702f4..35cfd04 100644
--- a/.github/workflows/abicheck.yml
+++ b/.github/workflows/abicheck.yml
@@ -34,16 +34,12 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
path: previous
- fetch-depth: 2
+ ref: ${{ github.event.pull_request.base.ref }}
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: '3.12'
- - name: Checkout previous
- working-directory: previous
- run: git checkout HEAD^
-
- name: Build current
working-directory: current
run: |
@@ -54,6 +50,7 @@ jobs:
- name: Build previous
working-directory: previous
run: |
+ echo "Commit-id before PR: $(git show HEAD)"
pip install -r requirements.txt
meson setup build --buildtype=debug
meson compile -C build