Skip to content

Commit 160bdbe

Browse files
author
Fszontagh
committed
fix: install MongoDB C++ driver from official repository
1 parent 5d150c7 commit 160bdbe

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/build-and-release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,13 @@ jobs:
2929
sudo apt-get update
3030
sudo apt-get install -y build-essential cmake git pkg-config \
3131
libcurl4-openssl-dev libfmt-dev libmagick++-dev libmariadb-dev libfcgi-dev \
32-
libmongocxx-dev libmongoc-dev libxml2-dev libmemcached-dev
32+
libxml2-dev libmemcached-dev
33+
34+
# Install MongoDB C++ driver from official repository
35+
wget -qO - https://www.mongodb.org/static/pgp/server-7.0.asc | sudo apt-key add -
36+
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu noble/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
37+
sudo apt-get update
38+
sudo apt-get install -y libmongocxx-dev
3339
3440
- name: Configure CMake
3541
run: |

0 commit comments

Comments
 (0)