forked from libfuse/libfuse
-
Notifications
You must be signed in to change notification settings - Fork 1
62 lines (51 loc) · 1.39 KB
/
abicheck.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
name: 'libfuse ABI check'
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions:
contents: read
jobs:
abi:
runs-on: '${{ matrix.os }}'
strategy:
matrix:
os:
- ubuntu-latest
steps:
- name: Install dependencies (Ubuntu)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get -y install abigail-tools clang gcc
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
path: current
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
path: previous
fetch-depth: 2
- uses actions/setup-python@v5
with:
python-version: '3.12'
- name: Checkout previous
working-directory: previous
run: git checkout HEAD^
- name: Build current
working-directory: current
run: |
meson setup build --buildtype=debug
meson compile -C build
- name: Build previous
working-directory: previous
run: |
meson setup build --buildtype=debug
meson compile -C build
- name: Run abidiff
run: abidiff
--headers-dir1 previous/include/
--headers-dir2 current/include/
previous/build/lib/libfuse3.so.3
current/build/lib/libfuse.3.so.3