mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[ci,abi] refactor suppressions
* add a script to run abi-diff locally * refactor suppression file, explicitly state type of change expected * use local script for ci tests as well * disable client and shadow server builds
This commit is contained in:
7
.github/workflows/abi-checker.yml
vendored
7
.github/workflows/abi-checker.yml
vendored
@@ -42,10 +42,7 @@ jobs:
|
||||
- name: "Prepare configuration"
|
||||
run: |
|
||||
mkdir -p abi-checker
|
||||
cp ci/cmake-preloads/config-abi.txt abi-checker/
|
||||
cp scripts/abi-suppr.txt abi-checker/
|
||||
curl https://gist.githubusercontent.com/akallabeth/aa35caed0d39241fa17c3dc8a0539ea3/raw/ef12f8c720ac6be51aa1878710e2502b1b39cf4c/check-abi -o abi-checker/check-abi
|
||||
chmod +x abi-checker/check-abi
|
||||
cp scripts/abi-diff.sh abi-checker/
|
||||
echo "GITHUB_BASE_REF=$GITHUB_BASE_REF"
|
||||
echo "GITHUB_HEAD_REF=$GITHUB_HEAD_REF"
|
||||
echo "API_BASE_REF=${{ inputs.API_BASE_REF || '3.6.0' }}"
|
||||
@@ -57,4 +54,4 @@ jobs:
|
||||
BASE_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event_name == 'workflow_dispatch' && inputs.API_BASE_REF || '3.6.0' }}
|
||||
run: |
|
||||
echo "BASE_REF=$BASE_REF"
|
||||
./abi-checker/check-abi -s abi-checker/abi-suppr.txt --parameters="-Cabi-checker/config-abi.txt" $BASE_REF $(git rev-parse HEAD)
|
||||
./abi-checker/abi-diff.sh $BASE_REF
|
||||
|
||||
Reference in New Issue
Block a user