File tree Expand file tree Collapse file tree 3 files changed +36
-3
lines changed Expand file tree Collapse file tree 3 files changed +36
-3
lines changed Original file line number Diff line number Diff line change 33
33
-D CMAKE_BUILD_TYPE=RelWithDebInfo \
34
34
-D BUILD_VERSION="${LIBMONGOC_VERSION}" \
35
35
-D ENABLE_MONGOC=ON \
36
- -D ENABLE_TRACING=ON
36
+ -D ENABLE_TRACING=ON \
37
+ -D ENABLE_CLIENT_SIDE_ENCRYPTION=ON
37
38
env :
38
39
LIBMONGOC_VERSION : ${{ inputs.version }}
39
40
Original file line number Diff line number Diff line change
1
+ name : " Build libmongocrypt"
2
+ description : " Installs libmongocrypt"
3
+ inputs :
4
+ version :
5
+ description : " Libmongocrypt version to install (major.minor)"
6
+ required : true
7
+ runs :
8
+ using : composite
9
+
10
+ steps :
11
+ - name : Add repository key
12
+ shell : bash
13
+ run : sudo sh -c 'curl -s --location https://pgp.mongodb.com/libmongocrypt.asc | gpg --dearmor >/etc/apt/trusted.gpg.d/libmongocrypt.gpg'
14
+
15
+ - name : Add repository
16
+ shell : bash
17
+ working-directory : /tmp
18
+ # Note: no packages for Ubuntu 24.04 noble exist, so we use those for 22.04
19
+ run : echo "deb https://libmongocrypt.s3.amazonaws.com/apt/ubuntu jammy/libmongocrypt/${LIBMONGOCRYPT_VERSION} universe" | sudo tee /etc/apt/sources.list.d/libmongocrypt.list
20
+ env :
21
+ LIBMONGOCRYPT_VERSION : ${{ inputs.version }}
22
+
23
+ - name : Update apt sources
24
+ shell : bash
25
+ run : sudo apt-get update
26
+
27
+ - name : Install libmongocrypt
28
+ shell : bash
29
+ run : sudo apt-get install -y libmongocrypt-dev
Original file line number Diff line number Diff line change @@ -16,14 +16,17 @@ jobs:
16
16
with :
17
17
submodules : true
18
18
19
+ - name : " Install libmongocrypt"
20
+ uses : ./.github/actions/linux/build-libmongocrypt
21
+ with :
22
+ version : 1.14
23
+
19
24
- name : " Build libmongoc"
20
- id : build-libmongoc
21
25
uses : ./.github/actions/linux/build-libmongoc
22
26
with :
23
27
version : 2.0.1
24
28
25
29
- name : " Build Driver"
26
- id : build-driver
27
30
uses : ./.github/actions/linux/build
28
31
with :
29
32
version : " 8.4"
You can’t perform that action at this time.
0 commit comments