-
-
Notifications
You must be signed in to change notification settings - Fork 64
65 lines (54 loc) · 1.76 KB
/
abi_stability.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
63
64
65
name: ABIStability
on:
push:
branches:
- develop
- master
pull_request:
schedule:
- cron: '0 0 1 * *'
jobs:
abi_stability:
name: "ABI stability"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install abi-compliance-checker and abigail tools
shell: bash
run: |
sudo apt-get -y install abi-dumper abi-compliance-checker abigail-tools g++-7 g++-9
- name: Validate ABI compatibility (abi-dumper)
if: success() || failure()
shell: bash
run: |
cd abi-compliance
chmod +x check-abi.sh
./check-abi.sh 2.2
- name: Validate ABI compatibility (abigail)
if: success() || failure()
shell: bash
run: |
cd abi-compliance
chmod +x check-abigail.sh
./check-abigail.sh 2.2
# - name: Validate API + ABI compatibility (abi-compliance-checker)
# if: success() || failure()
# shell: bash
# run: |
# cd abi-compliance
# ./check-api-abi.sh 2.2
- name: Upload ABI stability reports 1
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: ABI stability report (GCC 7 with C++ 14)
path: abi-compliance/compat_reports/Outcome/2.2-gcc7-cxx14_to_test-gcc7-cxx14/compat_report.html
- name: Upload ABI stability reports 2
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: ABI stability report (GCC 9 with C++ 17)
path: abi-compliance/compat_reports/Outcome/2.2-gcc9-cxx17_to_test-gcc9-cxx17/compat_report.html
# with:
# name: API + ABI stability report (GCC 9 with C++ 17)
# path: abi-compliance/compat-reports/Outcome/2.2-gcc7-cxx14_to_X/compat_report.html