USE_CPP_TEST_SERVER for Linux C++ tests (#1605)
This commit is contained in:
7
.github/workflows/linux-ci.yml
vendored
7
.github/workflows/linux-ci.yml
vendored
@@ -77,7 +77,7 @@ jobs:
|
||||
CI: 1
|
||||
run: |
|
||||
cmake --version
|
||||
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 }}
|
||||
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 }}
|
||||
cmake --build build --target mbgl-core mbgl-test-runner mbgl-render-test-runner mbgl-expression-test
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
@@ -125,11 +125,6 @@ jobs:
|
||||
|
||||
- run: chmod +x ./mbgl-test-runner
|
||||
|
||||
- name: Install npm packages and run test server in background
|
||||
run: |
|
||||
npm install
|
||||
node test/storage/server.js &
|
||||
|
||||
- name: Run C++ tests
|
||||
run: xvfb-run -a ./mbgl-test-runner
|
||||
|
||||
|
||||
Reference in New Issue
Block a user