mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 18:40:27 +01:00
16 lines
454 B
Bash
16 lines
454 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
if [ $BUILD_TYPE == "default" ]; then
|
||
|
# Build required projects first
|
||
|
|
||
|
# libsodium
|
||
|
git clone git://github.com/jedisct1/libsodium.git
|
||
|
( cd libsodium; ./autogen.sh; ./configure; make check; sudo make install; sudo ldconfig )
|
||
|
|
||
|
# Build and check this project
|
||
|
./autogen.sh && ./configure --with-libsodium=yes && make && make check
|
||
|
sudo make install
|
||
|
else
|
||
|
cd ./builds/${BUILD_TYPE} && ./ci_build.sh
|
||
|
fi
|