Skip to content

Install libmongocrypt as system library #14

Install libmongocrypt as system library

Install libmongocrypt as system library #14

Workflow file for this run

name: "System library tests"
on:
push:
branches:
- "build-system-libs"
jobs:
tests:
name: "Build"
runs-on: "ubuntu-24.04"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
with:
submodules: true
- name: "Build libmongoc"
id: build-libmongoc
uses: ./.github/actions/linux/build-libmongoc
with:
version: 2.0.1
- name: "Install libmongocrypt"
shell: bash
run: |
sudo sh -c 'curl -s --location https://pgp.mongodb.com/libmongocrypt.asc | gpg --dearmor >/etc/apt/trusted.gpg.d/libmongocrypt.gpg'
echo "deb https://libmongocrypt.s3.amazonaws.com/apt/ubuntu noble/libmongocrypt/1.14 universe" | sudo tee /etc/apt/sources.list.d/libmongocrypt.list
sudo apt-get update
sudo apt-get install -y libmongocrypt-dev
- name: "Build Driver"
id: build-driver
uses: ./.github/actions/linux/build
with:
version: "8.4"
configureOpts: "--with-mongodb-system-libs=yes"
- name: "Check driver version"
shell: bash
run: make show-config