[build] Enable mbgl-expression-test on CI
This commit is contained in:
1
Makefile
1
Makefile
@@ -560,7 +560,6 @@ test-node: node
|
||||
npm test
|
||||
npm run test-query
|
||||
npm run test-memory
|
||||
npm run test-expressions
|
||||
|
||||
#### Android targets ###########################################################
|
||||
|
||||
|
||||
24
circle.yml
24
circle.yml
@@ -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
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user