File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 55
55
- name : Setup environment
56
56
shell : bash
57
57
run : |
58
- sudo apt-get install -y ninja-build libboost-all-dev libssl-dev
58
+ sudo apt-get update
59
+ sudo apt-get install -y ninja-build libboost-all-dev libssl-dev libgtest-dev nlohmann-json3-dev libasio-dev libtclap-dev g++ cmake
59
60
sudo gem install cucumber
60
61
- name : Checkout project
61
62
uses : actions/checkout@v4
92
93
if : steps.cucumber-cpp.outputs.cache-hit != 'true'
93
94
shell : bash
94
95
run : |
96
+ g++ --version
95
97
cd ./cucumber-cpp-src
96
- cmake -B build -DCMAKE_BUILD_TYPE=Debug
98
+ cmake -B build -DCMAKE_BUILD_TYPE=Debug -DCUKE_TESTS_UNIT=OFF
97
99
cmake --build build --config Debug
98
100
cd "$GITHUB_WORKSPACE"
99
101
mkdir -p cucumber-cpp
Original file line number Diff line number Diff line change @@ -100,7 +100,6 @@ endif ()
100
100
# Flags configuration
101
101
102
102
set (FLAGS "\
103
- -g \
104
103
-Wall \
105
104
-D PUBNUB_THREADSAFE \
106
105
-D PUBNUB_LOG_LEVEL=PUBNUB_LOG_LEVEL_${LOG_LEVEL} \
@@ -122,6 +121,12 @@ set(FLAGS "\
122
121
-D PUBNUB_USE_LOG_CALLBACK=${USE_LOG_CALLBACK} \
123
122
-D PUBNUB_MBEDTLS=${MBEDTLS} " )
124
123
124
+ if (DEFINED SDK_VERSION_SUFFIX)
125
+ set (FLAGS "\
126
+ ${FLAGS} \
127
+ -D PUBNUB_SDK_VERSION_SUFFIX=${SDK_VERSION_SUFFIX} " )
128
+ endif ()
129
+
125
130
#Required on windows with Event Engine, so only winsock2 is used (otherwise it tries to use winsock and winsock2 and there are redefinition errors)
126
131
if (WIN32 OR WIN64 OR MSVC )
127
132
set (FLAGS "\
@@ -144,6 +149,7 @@ endif ()
144
149
if (${ASAN} )
145
150
set (FLAGS "\
146
151
${FLAGS} \
152
+ -g \
147
153
-fsanitize=address" )
148
154
set (LDLIBS "\
149
155
${LDLIBS} \
You can’t perform that action at this time.
0 commit comments