Commit Graph

62 Commits

Author SHA1 Message Date
Ian Saultz
ea234edf67 chore: rename master -> main in CI and scripts (#246)
Thanks for contributing to FOSS4G!
2022-03-07 11:40:06 -08:00
Tadej Novak
7e83c35549 [ci] Refresh Ubuntu repositories to avoid stale states (#234) 2022-02-15 11:15:29 -08:00
kiibimees
747eb3a440 [qt] Build improvements and better handling of map settings (#197)
* QMapboxGLSettings functions for changing default options and getting default styles

* [qt] allow to build without widgets and other cmake improvements

* [qt] Install include/mbgl for development

* [qt] library static/shared install+export

* [qt] Add missing mbgl-compiler-options dependency for 'qmapboxgl'

* [qt] Raise CMAKE_OSX_DEPLOYMENT_TARGET from 10.13 to 13.0

* [qt] Add Qt::Sql dependency also to the final library. Build qmapboxgl as OBJECT lib inside QtLocation plugin.

* Remove Qt::Sql dependency from 'qmapboxgl'. Not really needed.

* Set CMake config files path back to ${CMAKE_INSTALL_LIBDIR}/cmake/QMapboxGL/

* [qt] Set CMAKE_OSX_DEPLOYMENT_TARGET only if it is not yet set

* [qt] Support CMake v3.11 and earlier versions

* [qt] Comment out 'iOS_static' from CI until it is fixed.

Co-authored-by: Rinigus <rinigus.git@gmail.com>
2022-02-14 17:18:29 +01:00
Justas Brazauskas
cfcbc62fad Feature - Bring back node support (#217)
This PR brings back support for node.js later versions, as well as actually making it work. Maps now render, properly, using node v10, v12, and v16.
2022-02-08 20:40:19 +01:00
Tadej Novak
05836553f1 [qt] Initial CI pipeline (#221) 2022-01-28 11:43:46 -08:00
Petr Pokorny
bf16c74a12 sailfish/26 was removed from google labs on 2021-07-22 2021-09-06 21:53:43 +02:00
Petr Pokorny
09f1dac9ae Android build times out on GH runners
Execution failed for task ':MapboxGLAndroidSDK:compileReleaseKotlin'.
> Could not resolve all artifacts for configuration ':MapboxGLAndroidSDK:releaseCompileClasspath'.
   > Could not download okhttp-3.12.3.jar (com.squareup.okhttp3:okhttp:3.12.3)
      > Could not get resource 'https://repo.maven.apache.org/maven2/com/squareup/okhttp3/okhttp/3.12.3/okhttp-3.12.3.jar'.
         > Could not GET 'https://repo.maven.apache.org/maven2/com/squareup/okhttp3/okhttp/3.12.3/okhttp-3.12.3.jar'.
            > Read timed out
   > Could not download gson-2.8.6.jar (com.google.code.gson:gson:2.8.6)
      > Could not get resource 'https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar'.
         > Could not HEAD 'https://repo.maven.apache.org/maven2/com/google/code/gson/gson/2.8.6/gson-2.8.6.jar'.
            > Read timed out
2021-09-06 20:41:42 +02:00
Petr Pokorny
c7471b8192 Use github-hosted runner for android builds 2021-09-06 19:49:53 +02:00
Petr Pokorny
d62ff400c6 Replacing hardcoded configuration with configurable API and removing Mapbox assets (#90)
* Refactoring online file source so that tile server configuration is not hardcoded - part 1

* Added default templates

* Update from master

* Renaming MGLAccountManager to MGLSettings. Passing ResourceOptions and TileServerOptions to relevant classes and method in order to remove mapbox hardocded configuration

* Fixing build

* Addedm missing theme

* Unit tests fixes

* Fixing unit tests, adding factory methods for creating predefined configuration.

* Fixing mapbox unit tests

* Additional unit test fixes

* Making MapboxConfiguration default

* Making get/set resource options available in all classes that inherits from FileSource

* Making get/set resource options available in all classes that inherits from FileSource - part 2

* Fixes for Android

* Disable test coverage reports

* Disable test coverage reports

* Disable test coverage reports

* Disable test coverage reports

* Removing hardcoded configuration in iOS project - part 1

* Fixing wrong file extension, making use of tile server options.

* Use apiKey and MGL_API_KEY everywhere

* Just a rename

* Re-enabling tests and improving MGLSettings init

* Removing mapbox hardcoded configuration, using api key everywhere, implementing JNI conversion for TileServerOptions

* Lint issues.

* Integrating configurable tile server properties into Android SDK - part 2

* Removing mabox accounts

* Exposing multiple configurations to Android SDK - bug fixes

* Removing TileServerOptions from public interface - native methods dont work before mapbox-gl library is loaded

* Adding support for configurable predefined styles

* Migrating predefined styles in test app + cleanup

* Parameter fix

* Bug fixes

* Fixing render test build

* Fixing offline tester

* Fixing benchmark tool

* Fix: typo in method name

* Adding code for public access to TileServerOptions

* Bug fixes and debug code removal

* Fixes for macOS, adding unit tests from MapLibre, removing redundant members from OnlineFileSource

* Unit test fixes

* MacOS test app - migrating to configurable tile server options, part 1

* Fixing offline maps

* Migrating macOS test app to MapTiler

* Minor improvements

* Putting back apiKey test

* Added unit tests for MapTiler configuration

* Migrating test resources to MapTiler

* minor fix

* A few fixes

* Fixing macOS tests, removing feedback functionality

* Migrating ios test app to MapTiler

* Migrating ui tests

* UI tests fix

* Benchmarking app fix

* Cleanup and strings updates

* Migrating benchmark app to maptiler

* API key injection in benchmark app

* Putting back release configuration

* Additional tests and fixing issues identified by thread sanitizer.

* Removing test filters

* Fixes and addressing lint issues

* More Maptiler tests + minro fix

* Android instrumentation test migration to MapTiler. Exposing missing TileServerOptions in Android SDK. Minor fixes.

* No requirements on API key format.

* Fixing offline cache test tool

* Adding configurable domain name for sources, adding source domain int MapTiler configuration, cleanup

* Migrating tests to MapTiler, adding code for canonicalizing URLs, removing mapbox stuff from comments, cleanup

* More tests

* Updated database size

* Lint issues

* Fixed test

* Updating developer config API key

* Fixes for Android, propagaing updated tileServerOptions to native file sources, more tests

* Just a few more fixes

* Propagating updated settings to file sources + additional unit test

* Lint issues

* Removing test filter and fixing incorrect uri

* Release preparation

* macos release notes
2021-06-29 12:44:51 +02:00
Petr Pokorny
75d915eff1 Update ios-release.yml 2021-05-20 13:14:50 +02:00
Petr Pokorny
692c66cfc9 Update ios-ci.yml 2021-05-20 13:14:31 +02:00
Petr Pokorny
c9f3fd1c4f Update ios-release.yml 2021-05-20 13:13:43 +02:00
Petr Pokorny
0079d07e10 Update ios-ci.yml 2021-05-20 13:13:07 +02:00
Marcel Normann
e66fa56098 Add sponsorship button to repository 2021-05-07 09:41:20 +02:00
Petr Pokorny
8818a0c92e Update android-release.yml
Fixing signing key issues
2021-05-06 18:38:27 +02:00
Petr Pokorny
c93c0857ba Update macos-release.yml
Allow manual trigger only
2021-05-06 18:30:57 +02:00
Petr Pokorny
18623250e7 Update ios-release.yml
Allow manual trigger only
2021-05-06 18:30:40 +02:00
Petr Pokorny
f6bbb080b8 Update ios-pre-release.yml
Allow manual trigger only
2021-05-06 18:30:13 +02:00
Petr Pokorny
df55866c09 Update android-release.yml
Allow manual trigger only
2021-05-06 18:29:51 +02:00
Petr Pokorny
29cb016c2c Update android-release.yml 2021-05-06 17:10:45 +02:00
Petr Pokorny
14dabbe539 Update ios-pre-release.yml
Update to match pre-release (metal) branch
2021-05-06 16:10:34 +02:00
Petr Pokorny
82a3917fb4 Use hosted runner 2021-05-06 15:46:19 +02:00
Petr Pokorny
dbeeb7eceb Migrate from bintray (#77)
* Bug fixes & cleanup

* Ignoring private files

* Bug fixes found during testing + added script to generate pgp key

* Added step for closing and releasing staging repository

* Update build.gradle

Disabling test coverage due to timeouts
2021-05-04 19:46:30 +02:00
Petr Pokorny
343cd1da65 Update ios-ci.yml
Setting runner back to macos 11.0
2021-05-04 13:02:16 +02:00
Petr Pokorny
67f6e5e0aa Update ios-ci.yml
Testing ci unit tests on metal branch
2021-05-03 22:43:45 +02:00
Petr Pokorny
e7ff010646 Update ios-ci.yml
Testing macos-11.0 test runner
2021-05-02 21:21:28 +02:00
Petr Pokorny
0a12a41c9a Update android-ci.yml 2021-05-02 12:16:32 +02:00
Petr Pokorny
ca5f89ae70 Update ios-pre-release.yml 2021-05-02 12:15:45 +02:00
Petr Pokorny
c9aee6c743 Update ios-release.yml 2021-05-02 12:15:31 +02:00
Petr Pokorny
96baf47357 Update android-release.yml 2021-05-02 12:15:06 +02:00
Petr Pokorny
f3aae2da65 Added support for pre-releases (currently metal) 2021-04-21 16:49:40 +02:00
Rob Labs
dba5d968b2 Automated UI Tests for iOS (#47)
* initial UITests template from Xcode add new Test Target

* Set deployment target for the UITests to match the iosapp

* Bundle versions match iosapp

* Save a PNG screenshot to the UITest results

* Turn on Debug tile boundaries, tile info and FPS ornaments

* First iteration of bench scheme UITests

* Enable bench UITests while in the `iosapp` scheme

* Add flag to `make iproj CI=1` to run in headless mode (for GitHub Actions & Xcode Server Bots)

* Write the Benchmark log to the Documents Directory

* Add Zero Configuration (Zeroconf) Styles to facilitate automated testing without an access token nor secrets

* Add `make ios-test`

* Add UI Tests to CI for iOS

* Ignore prompts for *precise or reduced accuracy for GPS*
2021-04-06 21:02:11 +02:00
Petr Pokorny
b1536d1a7c Trying to solve maven timeouts using self hosted runner 2021-03-12 20:53:22 +01:00
Petr Pokorny
2fdf124f65 Fixing Android CI build for pull requests 2021-03-08 19:16:53 +01:00
Petr Pokorny
62ab3e4340 Repository migration from MapTiler to MapLibre 2021-02-04 11:53:40 +01:00
Petr Pokorny
6efa6a0475 Setting correct image tags 2021-02-04 09:03:48 +01:00
Petr Pokorny
111f4a05c3 Docker images for Android build - use GitHub action runners instead of self-hosted 2021-02-04 09:00:14 +01:00
Petr Pokorny
09640e64af Adding one more build step to ensure correct source code revision is used for the release. 2021-02-01 10:03:18 +01:00
Petr Pokorny
117a4c5899 cmake configuration to nesure mbgl-core contains arm64 libraries 2021-02-01 00:32:09 +01:00
Petr Pokorny
c153b28036 Update macos-release.yml 2021-01-31 07:41:41 +01:00
Petr Pokorny
099e5e7498 Wrong step name 2021-01-31 02:28:41 +01:00
Petr Pokorny
6232e88fd5 Fixing workflow name 2021-01-31 02:25:54 +01:00
Petr Pokorny
54d951b41e Added macos release workflow 2021-01-30 21:29:39 +01:00
Petr Pokorny
16312915bd Added macos CI workflow 2021-01-30 20:40:39 +01:00
Petr Pokorny
2ca240b550 Another typo in ci workflow. 2021-01-27 12:11:19 +01:00
Petr Pokorny
c6cc14ee9a Do not trigger builds on .gitignore changes 2021-01-27 10:41:55 +01:00
Petr Pokorny
01609cbfbb Merge pull request #7 from maptiler/mme-removal
Mapbox mobile events and telemetry removal
2021-01-26 11:26:29 +01:00
Petr Pokorny
d1ef1d998d Dedicated workflow for pull requests on Android. Fix: do not trigger Android builds on iOS pull requests. 2021-01-26 10:44:19 +01:00
Petr Pokorny
bd5df1316e Removing unused import + typo in action workflow 2021-01-25 21:16:11 +01:00
Petr Pokorny
8f06158155 [build] Enabling temporary disabled tasks 2021-01-06 14:09:20 +01:00