Commit Graph

280 Commits

Author SHA1 Message Date
Juha Alanen
4be8c1ac34 [build] Increase the timeout for Android and iOS benchmark runners 2020-04-21 11:04:04 +03:00
Thiago Marcos P. Santos
2eebd7170a [build] Make the code tidy
Now clang-tidy runs for all the mbgl-core.
2020-04-17 13:36:50 +03:00
Thiago Marcos P. Santos
aa2e8fbb6a [build] Move to Ubuntu Eoan
Disco has reached EOL and apt-get fails.
2020-04-16 19:31:23 +03:00
Juha Alanen
f3df304a20 [build] Compare benchmark results to baseline 2020-04-15 19:11:28 +03:00
Juha Alanen
7ead748f6c [build] Save rebaselined metrics as artifacts 2020-04-15 19:11:28 +03:00
zmiao
bf4c7340f3 [build] Fix undefined behavour sanitizer (#16375)
* [build] Fix integer overflow runtime error for core part

Temporarily remove circle ci UBSAN build precondition

* [build] Enable all of the ubsans

[build] Check runtime error

[build] Update UBSAN_OPTION

* [build] Add UBSAN blacklist

[build] Ignore system libraries

[build] Ignore vendor library

* [build] Fix implicit conversion runtime error in core

* [build] Fix division by zero runtime error

* [build] Add unfixed error to ubsan blacklist

* [build] Make UBSAN halt on error

Revert "Temporary remove build precondition"

* [build] Fix division by zero error

* [build] Make UBSAN officially work without FIXME prefix

* [build] Fix implicit conversion from int64_t to uint64_t

* [build] Rename style test json file name

* Address review findings
2020-04-07 16:30:30 +03:00
Igor Tarasov
338cfd1b33 [android] [build] [ci] Move Android JNI bindings code to mapbox-gl-native-android repo. (#16356) 2020-04-02 18:36:55 +03:00
Thiago Marcos P. Santos
09f7bbcf7c [build] Cascade some bots so we trigger less jobs
Now that we have clang-tidy with more checks enable,
make sure the code is tidy before we can move forward
with the pipeline.

Also cascade macOS bots, which are way slower after
basic compilation is done on Linux.
2020-04-01 20:34:21 +03:00
Thiago Marcos P. Santos
fc29ddc6c2 [build] Make the code tidy!
Now the bot will fail when clang-tidy fails. All warnings are fatal.
2020-03-30 23:37:44 +03:00
Juha Alanen
488e550895 [build] Enable ccache for iOS CI builds
Now ccache can be optionally enabled. Enable it for CI builds.
By default it is disabled due to issues in some environments.
2020-03-27 17:57:28 +02:00
Thiago Marcos P. Santos
3e173e1b71 [build] Deprecated GCC 4.9 and set the minimum to GCC 5 2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
ef19a33866 [build] Trigger the downstream CI and get the status back
Allows triggering a pipeline at any other repository
passing parameters.
2020-03-20 13:59:23 +02:00
zmiao
6989ee6e03 [build] Use found code sign identities 2020-03-19 10:20:44 +02:00
Thiago Marcos P. Santos
7d77a55fe0 [build] Bump docker
Allow building with OpenGL ES 2.0 headers on Linux.
2020-03-14 03:08:54 +02:00
Juha Alanen
987f214273 [build] Collect code coverage from macOS builds
Collect coverage from development builds and add a nightly build
to collect metrics.
2020-03-06 13:52:00 +02:00
Juha Alanen
ffe95ec7d3 [test] Add test manifest for the nightly build
Use the same test manifest for the development and nightly
coverage CI builds. Add manifest for the nightly build by
creating a symbolic link to the existing manifest.
2020-03-03 13:30:53 +02:00
Juha Alanen
3a530d5589 [build] Add nightly build to publish coverage metrics
Get coverage metrics from codecov.io and upload
them to S3.
2020-03-02 09:16:18 +02:00
Juha Alanen
bc9f51e78b [build] Generate coverage results separately before uploading to codecov
The codecov.io script has issues with generating coverage result files
so generate them separately with gcov and only use the codecov.io script
to upload the results.
2020-03-02 09:16:18 +02:00
Juha Alanen
7cc2f7efd5 [build] Upload code coverage results to codecov.io 2020-03-02 09:16:18 +02:00
Minh Nguyễn
206b9bde5e [ios, macos] Deleted iOS/macOS map SDK sources, resources, scripts 2020-02-27 17:14:20 -08:00
Thiago Marcos P. Santos
a04b4dbf52 [build] Add license file for mbgl-core.a
Also make sure it will be always up to date
by using the nitpick bot to enforce it.
2020-02-27 18:19:31 +02:00
Juha Alanen
1db92f3c6c [build][ios] Upload updated metrics to CI artifacts 2020-02-27 10:09:35 +02:00
Juha Alanen
4b148dc202 [build][ios] Refactor iOS test runner CI job configs 2020-02-27 10:09:35 +02:00
Juha Alanen
d01c6aa322 [build] Bump Xcode and iOS versions for test runner builds
Use the latest Xcode 11.3.1 and run the tests on
iPhone 11 with the latest iOS 13.3.
2020-02-18 16:10:23 +02:00
Juha Alanen
850ba6ebba [build] Fix Android benchmark runner CI config
Save step had been removed.
2020-02-18 16:10:23 +02:00
Juha Alanen
4fb715f1fe [build] Enable iOS benchmark runner in CI 2020-02-18 16:10:23 +02:00
Juha Alanen
112fa0dccf [build] Cleanup CircleCI configuration
The parameters were moved to iOS cmake file, so now the RenderTestApp
can be built with cmake.
2020-02-14 12:01:52 +02:00
Juha Alanen
f44cfa2fbc [build] Build iOS release for iPhone instead of simulator 2020-02-14 12:01:52 +02:00
Juha Alanen
8f8eb46c7c [build] Use all available cores for macOS CI builds 2020-02-14 12:01:52 +02:00
Juha Alanen
af7428254b [build] Enable iOS unit test runner in CI 2020-02-14 12:01:52 +02:00
zmiao
7424c4eecb Bump GL-JS
Backport GL-JS fix 'Hide glyphs behind the camera'(https://github.com/mapbox/mapbox-gl-js/pull/9229)
2020-02-11 11:05:18 +02:00
Thiago Marcos P. Santos
47f2b20435 [build] Remove unused files
Buck build is no longer needed, neither is the previous
CMake buildsystem.
2020-02-07 20:12:44 +02:00
Thiago Marcos P. Santos
f7fef70e9d [build] Move the next buildsystem to the root
This will make the `next` buildsystem no longer the `next`, but the
`actual`. The idea is to simplify the build, removing scripts, to
make the platform buildsystem generated by CMake more compatible
with IDEs and make development more streamlined. It will also make
cross compilation easier.
2020-02-07 20:12:44 +02:00
zmiao
2e10d3548a Add back ios-test-runner for beseline job (#16167) 2020-02-03 19:01:31 +02:00
Thiago Marcos P. Santos
edd3e49533 [build] Remove baseline bot dependency on iOS tests
The iOS test bot is failing because auth is failing.
2020-02-03 15:42:41 +03:00
Juha Alanen
1688130809 [build] Use all available cores for CI builds 2020-01-30 13:52:09 +02:00
Juha Alanen
ce59c56f9f [build] Disable TSAN checks for the test HTTP server in CI builds 2020-01-30 13:52:09 +02:00
Juha Alanen
4778c0ab6b [build] Enable unit tests for Qt MacOS builds in CI 2020-01-30 13:52:09 +02:00
zmiao
d7c8104dec [test-runner] Enable rebaseline for next-ios-render-test-runner (#16147) 2020-01-28 21:48:22 +02:00
Thiago Marcos P. Santos
0de6ffc383 [build] Cleanup CircleCI configuration
- Remove the legacy build jobs
- Remove the next- namespace.
2020-01-28 00:44:07 +02:00
zmiao
429292fb98 [test-runner] Add iOS RenderTestRunner test metrics (#16139)
* [test-runner] Add iOS RenderTestRunner test metrics

* [test-runner] Add ios probe metrics
2020-01-24 15:45:47 +02:00
zmiao
93f19b8daa avoid restore sanity ccache since it will cause unarchive error for new added macos job (#16135) 2020-01-22 14:10:09 +02:00
Jordan Kiley
942d9566d3 [ios, macos] Include SKU token for offline requests (#16130) 2020-01-21 13:35:57 -08:00
zmiao
1ade6c7784 [test-runner] Enable IOS RenderTestRunner and run it on Firebase (#16111)
* [test-runner] Setup iOS RenderTestRunner

* [test-runner] Make app runnable on firebase

* Add iOS platform dependent expectation and ignores; Run prepare script via cmake

* Make RenderTestRunner report test status
2020-01-21 23:23:35 +02:00
Juha Alanen
86a3605349 [build][android] Fix CI bot that validates downstream API breakage 2020-01-10 17:19:30 +02:00
Juha Alanen
94df7ffc2d [build] Run Android unit test on Firebase 2020-01-10 17:19:30 +02:00
Jordan Kiley
60a4b3eda3 [ios] Add native_apple_interface to ios.cmake (#16103)
* [ios] Add native_apple_interface to ios.cmake

* [ios] Use Xcode for next-macos-xcode11-release
2020-01-09 12:41:14 -08:00
tobrun
52edd9b43b [android] add CI bot that validates downstream API breakage 2020-01-09 16:09:51 +01:00
Juha Alanen
8ce3f6a987 [build] Run Android benchmark on Firebase 2020-01-03 11:52:50 +02:00
Thiago Marcos P. Santos
6d876f1d6b [build] Make the configuration simpler
Moved the Android flags to the compilation options interface
and removed build options we are not using and go back to CMake
defaults.
2019-12-21 00:38:41 +01:00