From c7ee5e30ca737a2e04b91332c14c0be9ba6fe661 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Sat, 8 Oct 2022 17:54:44 +0200 Subject: [PATCH] SQUASH [1.x] test ABI breakage on 1.x branches --- .github/workflows/abibreak.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/abibreak.yaml b/.github/workflows/abibreak.yaml index 4a359994..1f6a1047 100644 --- a/.github/workflows/abibreak.yaml +++ b/.github/workflows/abibreak.yaml @@ -33,7 +33,7 @@ jobs: path: libmatroska-new - name: Configure CMake - run: cmake -S libmatroska-new -B _build -DBUILD_SHARED_LIBS=ON -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML" --config Debug + run: cmake -S libmatroska-new -B _build -DBUILD_SHARED_LIBS=ON -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML" -DCMAKE_BUILD_TYPE=RelWithDebInfo - name: Build run: cmake --build _build --parallel @@ -48,7 +48,7 @@ jobs: ref: v1.x - name: Configure v1.x - run: cmake -S libmatroska-1 -B _build_1 -DBUILD_SHARED_LIBS=ON -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML" --config Debug + run: cmake -S libmatroska-1 -B _build_1 -DBUILD_SHARED_LIBS=ON -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML" -DCMAKE_BUILD_TYPE=RelWithDebInfo - name: Build v1.x run: cmake --build _build_1 --parallel @@ -62,7 +62,9 @@ jobs: sudo apt install abigail-tools - name: Check ABI differences - run: abidiff --no-added-syms \ + run: | + abidiff --help + abidiff --no-added-syms \ --headers-dir1 ${GITHUB_WORKSPACE}/dir1/include/matroska --headers-dir2 ${GITHUB_WORKSPACE}/dir2/include/matroska ${GITHUB_WORKSPACE}/dir1/lib/libmatroska.so