File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,38 @@ 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+ # FIXME: remove this line once
85+ # https://bodhi.fedoraproject.org/updates/FEDORA-2019-35201dc539 hits stable
86+ - dnf -y upgrade --enablerepo=updates-testing --advisory=FEDORA-2019-35201dc539
87+ - mkdir build-latest && pushd build-latest
88+ - cmake ${CMAKE_FLAGS} ..
89+ - make -j $(nproc)
90+ - abi-dumper lib/libexiv2.so -o ../ABI-1.dump -lver latest
91+ - popd
92+ - git checkout -f 0.27
93+ - mkdir build-0.27 && pushd build-0.27
94+ - cmake ${CMAKE_FLAGS} ..
95+ - make -j $(nproc)
96+ - abi-dumper lib/libexiv2.so -o ../ABI-0.dump -lver 0.27.0
97+ - popd
98+ - abi-compliance-checker -l libexiv2 -old ABI-0.dump -new ABI-1.dump
99+ artifacts :
100+ when : always
101+ paths :
102+ - compat_reports/
103+
72104Install :
73105 image : fedora:latest
74106 stage : deploy
You can’t perform that action at this time.
0 commit comments