File tree Expand file tree Collapse file tree 5 files changed +28
-2
lines changed Expand file tree Collapse file tree 5 files changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ inputs:
23
23
runs :
24
24
using : composite
25
25
steps :
26
+ - name : Install Ninja
27
+ uses : ./.github/actions/install-ninja
26
28
- name : Install boost
27
29
uses : ./.github/actions/install-boost
28
30
id : install-boost
Original file line number Diff line number Diff line change
1
+ name : Install Ninja
2
+ description : ' Install the Ninja build system.'
3
+
4
+ runs :
5
+ using : composite
6
+ steps :
7
+ - name : Install for Ubuntu.
8
+ if : runner.os == 'Linux'
9
+ id : install-ninja-ubuntu
10
+ shell : bash
11
+ run : sudo apt install ninja-build
12
+
13
+ - name : Install for Mac
14
+ if : runner.os == 'macOS'
15
+ id : install-ninja-mac
16
+ shell : bash
17
+ run : brew install ninja
18
+
19
+ - name : Install for Windows
20
+ if : runner.os == 'Windows'
21
+ id : install-ninja-windows
22
+ shell : pwsh
23
+ run : choco install ninja
Original file line number Diff line number Diff line change 36
36
runs-on : windows-2022
37
37
steps :
38
38
- uses : actions/checkout@v3
39
+ - uses : ilammy/msvc-dev-cmd@v1
39
40
- uses : ./.github/actions/ci
40
41
env :
41
42
OPENSSL_ROOT_DIR : ${{ env.OPENSSL_ROOT_DIR }}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ endif ()
24
24
# Needed to fetch external dependencies.
25
25
include (FetchContent )
26
26
27
- set (OPENSSL_USE_STATIC_LIBS OFF )
27
+ set (OPENSSL_USE_STATIC_LIBS ON )
28
28
set (
OPENSSL_ROOT_DIR "/opt/homebrew/opt/[email protected] " )
29
29
find_package (OpenSSL REQUIRED )
30
30
message (STATUS "LaunchDarkly: using OpenSSL v${OPENSSL_VERSION} " )
Original file line number Diff line number Diff line change @@ -17,6 +17,6 @@ cd build
17
17
# script ends.
18
18
trap cleanup EXIT
19
19
20
- cmake -D BUILD_TESTING=" $2 " ..
20
+ cmake -G Ninja - D BUILD_TESTING=" $2 " ..
21
21
22
22
cmake --build . --target " $1 "
You can’t perform that action at this time.
0 commit comments