Skip to content

Commit ef37a85

Browse files
author
Divjot Arora
authored
Build libmongocrypt from source in all Ubuntu tests (#251)
1 parent db4e5ef commit ef37a85

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.evergreen/config.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,8 @@ functions:
8484
cp ./include/mongocrypt/*.h c:/libmongocrypt/include
8585
export PATH=$PATH:/cygdrive/c/libmongocrypt/bin
8686
elif uname -a | grep -q Ubuntu > /dev/null 2>&1; then # Ubuntu
87-
if [ "$(lsb_release -r -s)" = "14.04" ]; then
88-
git clone https://github.com/mongodb/libmongocrypt
89-
./libmongocrypt/.evergreen/compile.sh
90-
else
91-
sudo sh -c 'curl -s https://www.mongodb.org/static/pgp/libmongocrypt.asc | gpg --dearmor >/etc/apt/trusted.gpg.d/libmongocrypt.gpg'
92-
echo "deb https://libmongocrypt.s3.amazonaws.com/apt/ubuntu xenial/libmongocrypt/1.0 universe" | sudo tee /etc/apt/sources.list.d/libmongocrypt.list
93-
sudo apt-get update
94-
sudo apt-get install -y libmongocrypt-dev
95-
fi
87+
git clone https://github.com/mongodb/libmongocrypt
88+
./libmongocrypt/.evergreen/compile.sh
9689
elif uname -a | grep -q Darwin; then
9790
if [ -f "/Applications/cmake-3.2.2-Darwin-x86_64/CMake.app/Contents/bin/cmake" ]; then
9891
CMAKE="/Applications/cmake-3.2.2-Darwin-x86_64/CMake.app/Contents/bin/cmake"

0 commit comments

Comments
 (0)