[build] Enable mbgl-expression-test on CI

This commit is contained in:
Alexander Shalamov
2019-09-02 21:12:57 +03:00
parent 631bc4f6a3
commit 3c5cdf1943
2 changed files with 24 additions and 1 deletions

View File

@@ -560,7 +560,6 @@ test-node: node
npm test
npm run test-query
npm run test-memory
npm run test-expressions
#### Android targets ###########################################################

View File

@@ -272,6 +272,11 @@ commands:
- run:
name: Build mbgl-render-test
command: cmake --build build --config ${BUILDTYPE} --target mbgl-render-test -- -j${JOBS}
build-mbgl-expression-test:
steps:
- run:
name: Build mbgl-expression-test
command: cmake --build build --config ${BUILDTYPE} --target mbgl-expression-test -- -j${JOBS}
build-linux:
steps:
- run:
@@ -435,6 +440,19 @@ commands:
# Unfortunately, Google Test eats the status code, so we'll have to check the output.
[ -z "$(sed -n '/^SUMMARY: .*Sanitizer:/p' sanitizer)" ]
run-expression-tests:
steps:
- run:
name: Run expression tests
command: |
build/mbgl-expression-test -s --seed=$RANDOM
upload-expression-tests:
steps:
- store_artifacts:
path: mapbox-gl-js/test/integration/expression-tests/index.html
destination: expression-tests
publish-node-package:
steps:
- run:
@@ -988,9 +1006,12 @@ jobs:
- install-dependencies
- check-if-this-job-can-be-skipped
- configure-cmake
- build-mbgl-expression-test
- build-mbgl-render-test
- run-expression-tests
- run-linux-render-tests
- save-dependencies
- upload-expression-tests
- upload-render-tests
# ------------------------------------------------------------------------------
@@ -1272,9 +1293,12 @@ jobs:
- install-dependencies
- check-if-this-job-can-be-skipped
- configure-cmake
- build-mbgl-expression-test
- build-mbgl-render-test
- save-dependencies
- run-expression-tests
- run-macos-render-tests
- upload-expression-tests
- upload-render-tests
# ------------------------------------------------------------------------------