-
Notifications
You must be signed in to change notification settings - Fork 84
42 lines (32 loc) · 1010 Bytes
/
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
name: ABI Checks
on: [push, pull_request]
jobs:
abicheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: 'v3.4.0'
path: old
- uses: actions/checkout@v3
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"