Port Outcome over to work with ABI refactored status_code.
#284
This file contains hidden or 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
| name: ABIStability | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - master | |
| pull_request: | |
| schedule: | |
| - cron: '0 0 1 * *' | |
| jobs: | |
| abi_stability: | |
| name: "ABI stability" | |
| runs-on: ubuntu-24.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 | |
| - 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 13 with C++ 17) | |
| path: abi-compliance/compat_reports/Outcome/2.2-gcc13-cxx17_to_test-gcc13-cxx17/compat_report.html | |
| - name: Upload ABI stability reports 2 | |
| if: success() || failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ABI stability report (GCC 13 with C++ 20) | |
| path: abi-compliance/compat_reports/Outcome/2.2-gcc13-cxx20_to_test-gcc13-cxx20/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 |