Skip to content

Commit

Permalink
Restore deleted before_install
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy committed Feb 5, 2022
1 parent 83daadb commit 65cd2fb
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions bin/before_install
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,39 @@ if [ -n "$CI" ]; then
echo "== Installing system packages =="
sudo apt-get install libcurl4-openssl-dev
echo

# Install Qpid proton system library
set -v
pushd $PWD

# Install the dev dependencies for building Qpid proton system library.
sudo apt-get install -y gcc cmake cmake-curses-gui uuid-dev
sudo apt-get install -y libssl-dev
sudo apt-get install -y libsasl2-2 libsasl2-dev

# Get the latest Qpid Proton source
cd $HOME/build
git clone --branch 0.30.0 https://github.com/apache/qpid-proton.git
cd qpid-proton

# Configure the source of Qpid Proton.
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_BINDINGS=

# Compile system libraries.
make all

# Install system libraries
sudo make install

# Enable the qpid_proton bundler group
[ -z "$BUNDLE_WITH" ] && bundle config with qpid_proton

popd
set +v

echo
fi

gem_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." &>/dev/null && pwd)"
Expand Down

0 comments on commit 65cd2fb

Please sign in to comment.