mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 10:33:52 +01:00
Problem: removing latest_branch breaks ABI CI job
Solution: clone latest tag instead
This commit is contained in:
parent
4a863e334a
commit
364ae768fe
@ -25,14 +25,17 @@ function print_abi_api_breakages() {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
git fetch --unshallow
|
||||||
|
git fetch --all --tags
|
||||||
|
LATEST_VERSION=$(git describe --abbrev=0 --tags)
|
||||||
|
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure "${CONFIG_OPTS[@]}"
|
./configure "${CONFIG_OPTS[@]}"
|
||||||
make VERBOSE=1 -j5
|
make VERBOSE=1 -j5
|
||||||
abi-dumper src/.libs/libzmq.so -o ${BUILD_PREFIX}/libzmq.head.dump -lver HEAD
|
abi-dumper src/.libs/libzmq.so -o ${BUILD_PREFIX}/libzmq.head.dump -lver HEAD
|
||||||
|
|
||||||
git clone --depth 1 -b latest_release https://github.com/zeromq/libzmq.git latest_release
|
git clone --depth 1 -b ${LATEST_VERSION} https://github.com/zeromq/libzmq.git latest_release
|
||||||
cd latest_release
|
cd latest_release
|
||||||
LATEST_VERSION=$(git describe --abbrev=0 --tags)
|
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure "${CONFIG_OPTS[@]}"
|
./configure "${CONFIG_OPTS[@]}"
|
||||||
make VERBOSe=1 -j5
|
make VERBOSe=1 -j5
|
||||||
|
Loading…
Reference in New Issue
Block a user