Skip to content

Commit 0ad8a49

Browse files
committed
Separate into multiple steps
1 parent 860f322 commit 0ad8a49

File tree

1 file changed

+24
-9
lines changed

1 file changed

+24
-9
lines changed

.github/workflows/system-libs.yml

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,27 @@ jobs:
2222
- name: Install libmongoc as system library
2323
shell: bash
2424
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
25+
run: wget "https://github.com/mongodb/mongo-c-driver/archive/refs/tags/${LIBMONGOC_VERSION}.tar.gz" --output-document="mongo-c-driver.tar.gz"
26+
27+
- name: Install libmongoc as system library
28+
shell: bash
29+
working-directory: /tmp
30+
run: tar xf "mongo-c-driver.tar.gz"
31+
32+
- name: Install libmongoc as system library
33+
shell: bash
34+
working-directory: /tmp
35+
run: cmake -S mongo-c-driver -B _build \
36+
-D CMAKE_BUILD_TYPE=RelWithDebInfo \
37+
-D BUILD_VERSION="${LIBMONGOC_VERSION}" \
38+
-D ENABLE_MONGOC=ON
39+
40+
- name: Install libmongoc as system library
41+
shell: bash
42+
working-directory: /tmp
43+
run: cmake --build _build --config RelWithDebInfo --parallel
44+
45+
- name: Install libmongoc as system library
46+
shell: bash
47+
working-directory: /tmp
48+
run: cmake --install _build --prefix "~/.local" --config RelWithDebInfo

0 commit comments

Comments
 (0)