Commit 9cfb695 1 parent ea543e1 commit 9cfb695 Copy full SHA for 9cfb695
File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 77
77
CI : 1
78
78
run : |
79
79
cmake --version
80
- cmake -B build -GNinja -DCMAKE_BUILD_TYPE=Debug -DMLN_WITH_CLANG_TIDY=ON -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DMLN_WITH_COVERAGE=ON ${{ env.renderer_flag_cmake }}
80
+ CI=1 cmake -B build -GNinja -DCMAKE_BUILD_TYPE=Debug -DMLN_WITH_CLANG_TIDY=ON -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DMLN_WITH_COVERAGE=ON ${{ env.renderer_flag_cmake }}
81
81
cmake --build build --target mbgl-core mbgl-test-runner mbgl-render-test-runner mbgl-expression-test
82
82
83
83
- name : Perform CodeQL Analysis
@@ -125,11 +125,6 @@ jobs:
125
125
126
126
- run : chmod +x ./mbgl-test-runner
127
127
128
- - name : Install npm packages and run test server in background
129
- run : |
130
- npm install
131
- node test/storage/server.js &
132
-
133
128
- name : Run C++ tests
134
129
run : xvfb-run -a ./mbgl-test-runner
135
130
Original file line number Diff line number Diff line change @@ -229,3 +229,10 @@ set_property(TARGET mbgl-test PROPERTY FOLDER Core)
229
229
if (MLN_WITH_CLANG_TIDY)
230
230
set_target_properties (mbgl-test PROPERTIES CXX_CLANG_TIDY "${CLANG_TIDY_COMMAND} " )
231
231
endif ()
232
+
233
+ if (CMAKE_SYSTEM_NAME STREQUAL Linux)
234
+ target_compile_definitions (
235
+ mbgl-test
236
+ PRIVATE USE_CPP_TEST_SERVER
237
+ )
238
+ endif ()
You can’t perform that action at this time.
0 commit comments