File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " System library tests"
2+
3+ on :
4+ push :
5+ branches :
6+ - " build-system-libs"
7+
8+ env :
9+ LIBMONGOC_VERSION : " 2.0.1"
10+
11+ jobs :
12+ tests :
13+ name : " Build"
14+ runs-on : " ubuntu-24.04"
15+
16+ steps :
17+ - name : " Checkout"
18+ uses : " actions/checkout@v4"
19+ with :
20+ submodules : true
21+
22+ - name : Install libmongoc as system library
23+ shell : bash
24+ working-directory : /tmp
25+ run : |
26+ wget "https://github.com/mongodb/mongo-c-driver/archive/refs/tags/${LIBMONGOC_VERSION}.tar.gz" --output-document="mongo-c-driver.tar.gz"
27+ tar xf "mongo-c-driver.tar.gz"
28+ cmake -S mongo-c-driver -B _build \
29+ -D CMAKE_BUILD_TYPE=RelWithDebInfo \
30+ -D BUILD_VERSION="${LIBMONGOC_VERSION}" \
31+ -D ENABLE_MONGOC=ON
32+ cmake --build _build --config RelWithDebInfo --parallel
33+ cmake --install _build --prefix "~/.local" --config RelWithDebInfo
You can’t perform that action at this time.
0 commit comments