diff options
author | Dane Springmeyer <dane@mapbox.com> | 2019-10-23 17:46:19 -0700 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-10-24 13:26:32 +0300 |
commit | a1aa3b0e086ac31fd59cc870acc72f42be919679 (patch) | |
tree | f4c03914ef9ff05eb1a66fb50b1a2228f67d8b3d /circle.yml | |
parent | 1cfd0c4e92df6d0a4209b3e6517da6b7ca01af46 (diff) | |
download | qtlocation-mapboxgl-a1aa3b0e086ac31fd59cc870acc72f42be919679.tar.gz |
fix linux node platform publishing
Diffstat (limited to 'circle.yml')
-rw-r--r-- | circle.yml | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/circle.yml b/circle.yml index ca732d200c..e411d21267 100644 --- a/circle.yml +++ b/circle.yml @@ -123,7 +123,7 @@ workflows: jobs: # # Naming convention: {platform}-{additional description}-{build type} - # - {platform} is the client platform/framework, which may differ from + # - {platform} is the client platform/framework, which may differ from # the build platform. Specify both if applicable, e.g., "qt5-macos". # - {additional description} optionally describes the compiler or other # unique aspect of the build environment. @@ -143,6 +143,10 @@ workflows: filters: tags: only: /android-v.*/ + - node-linux-release: + filters: + tags: + only: /node-.*/ - node-macos-release: filters: tags: @@ -556,6 +560,19 @@ commands: name: Run node tests command: make test-node + run-node-linux-tests: + parameters: + node_version: + type: string + default: 10 + steps: + - run: + name: Run node tests + command: | + . "$NVM_DIR/nvm.sh" && nvm use << parameters.node_version >> + xvfb-run --server-args="-screen 0 1024x768x24" \ + logbt -- apitrace trace --api=egl -v make test-node + run-unit-tests: steps: - run: @@ -931,6 +948,24 @@ jobs: buck build mapbox-gl-native:android-core # ------------------------------------------------------------------------------ + node-linux-release: + docker: + - image: mbgl/linux-clang-3.9:2077f965ed + resource_class: large + working_directory: /src + environment: + LIBSYSCONFCPUS: 4 + JOBS: 4 + BUILDTYPE: RelWithDebInfo + WITH_EGL: 1 + steps: + - install-dependencies + - build-node + - save-dependencies + - run-node-linux-tests + - publish-node-package + +# ------------------------------------------------------------------------------ node-macos-release: macos: xcode: "11.1.0" |