Skip to content

Commit

Permalink
SQUASH [1.x] test ABI breakage on 1.x branches
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Oct 8, 2022
1 parent bf2cab5 commit c7ee5e3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/abibreak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c7ee5e3

Please sign in to comment.