-
Notifications
You must be signed in to change notification settings - Fork 83
48 lines (38 loc) · 1.04 KB
/
abi.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
name: ABI Checks
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
abicheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: 'v3.11.0'
path: old
- uses: actions/checkout@v4
with:
path: current
- name: fix flaky azure mirrors
if: ${{ runner.os == 'Linux' }}
run: |
sudo sed -i 's/azure\./de\./' /etc/apt/sources.list
- name: install abidiff
run: sudo apt-get update && sudo apt-get install -y abigail-tools
- name: make shared lib
run: |
cmake -S old -B old/build && cmake --build old/build
- name: make current shared lib
run: |
cmake -S current -B current/build && cmake --build current/build
- name: abidiff compare
id: abidiff
run: abidiff old/build/libre.so current/build/libre.so
continue-on-error: true
- name: display warning
if: steps.abidiff.outcome != 'success'
run: echo "::warning::ABI Check failed - bump ABI version"