File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,35 @@ OpenSUSE:
6969 << : *default_config
7070 << : *distro_build
7171
72+ ABI_compliance_check :
73+ image : fedora:30
74+ stage : deploy
75+ variables :
76+ # abi-dumper complains if we don't pass -Og
77+ CXXFLAGS : " -Og -g3 -gstrict-dwarf"
78+ CFLAGS : " -Og -g3 -gstrict-dwarf"
79+ # enabling curl is broken on 0.27
80+ CMAKE_FLAGS : " -DEXIV2_ENABLE_VIDEO=ON -DEXIV2_ENABLE_WEBREADY=ON -DBUILD_WITH_CCACHE=ON -DEXIV2_ENABLE_CURL=OFF -DEXIV2_ENABLE_SSH=ON"
81+ << : *default_config
82+ script :
83+ - dnf -y install abi-compliance-checker abi-dumper git
84+ - mkdir build-latest && pushd build-latest
85+ - cmake ${CMAKE_FLAGS} ..
86+ - make -j $(nproc)
87+ - abi-dumper lib/libexiv2.so -o ../ABI-1.dump -lver latest
88+ - popd
89+ - git checkout -f 0.27
90+ - mkdir build-0.27 && pushd build-0.27
91+ - cmake ${CMAKE_FLAGS} ..
92+ - make -j $(nproc)
93+ - abi-dumper lib/libexiv2.so -o ../ABI-0.dump -lver 0.27.0
94+ - popd
95+ - abi-compliance-checker -l libexiv2 -old ABI-0.dump -new ABI-1.dump
96+ artifacts :
97+ when : always
98+ paths :
99+ - compat_reports/
100+
72101Install :
73102 image : fedora:latest
74103 stage : deploy
You can’t perform that action at this time.
0 commit comments