-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add to CI per-commit checking of ABI stability using abi-dumper and l…
…ibabigail for GCCs 7 and 9 in C++ 14 and C++ 17 respectively.
- Loading branch information
Showing
15 changed files
with
21,936 additions
and
1,823 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
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@v2 | ||
|
||
- 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 | ||
./check-abi.sh 2.2 | ||
- name: Validate ABI compatibility (abigail) | ||
if: success() || failure() | ||
shell: bash | ||
run: | | ||
cd abi-compliance | ||
./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 | ||
if: success() || failure() | ||
uses: actions/upload-artifact@v2 | ||
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 | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.