Commit Graph

99 Commits

Author SHA1 Message Date
Birk Skyum
b9bd27b76b Enable npm publish for node releases (#506) 2022-09-26 18:22:40 +02:00
Andrew Calcutt
c29f55794b Remove node matix from workflow (#505) 2022-09-24 15:09:24 +02:00
Andrew Calcutt
b9a3931da4 Improved node release workflow with arm support 2022-09-24 01:31:08 +02:00
Birk Skyum
ab06f10217 Increase minimum node version to 14 (#495) 2022-09-23 11:51:26 +02:00
Birk Skyum
db2c871da6 Avoid unnecessary workflow triggers (#499) 2022-09-23 11:13:21 +02:00
Tadej Novak
de88884162 Fix a typo in Qt release workflow (#487) 2022-09-18 20:31:35 +02:00
Tadej Novak
368b37a1ce Fix issues with Qt release tarballs (#486) 2022-09-18 19:37:42 +02:00
Tadej Novak
86b43ce0e5 Do not parallelise Qt release deployment (#480) 2022-09-13 23:25:24 +02:00
Tadej Novak
a0d28ee958 Prepare Qt release workflow (#477)
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
2022-09-13 21:55:16 +02:00
Birk Skyum
8d7995e783 CI Ignore md files (#478) 2022-09-13 20:24:29 +02:00
Tadej Novak
53f39f511d Modernised Qt Windows CI (#469) 2022-09-13 19:31:01 +02:00
Andrew Calcutt
174505c32a Update token to NODE_PRE_GYP_GITHUB_TOKEN (#467) 2022-09-13 16:16:21 +02:00
Birk Skyum
1310ce298d Fix android ci workflows (#476) 2022-09-13 16:10:43 +02:00
Carlo Marinangeli
62e0a12ff0 Choose JDK11 in Android workflow (#475) 2022-09-13 14:15:05 +02:00
Tadej Novak
3cca1b255f Update Qt CI for desktop platforms (#468) 2022-09-11 21:47:12 +02:00
Andrew Calcutt
0c41499772 add node release checkout token (#466) 2022-09-11 14:19:21 +02:00
Birk Skyum
e8adffccaf Configure dependabot for nested package.json files (#458) 2022-09-11 12:43:55 +02:00
Andrew Calcutt
47c8e79a45 Node x64 release workflow (#378) 2022-09-11 10:30:54 +02:00
Birk Skyum
e773b3b805 Add Dependabot for npm packages (#435) 2022-09-09 00:41:18 +02:00
Birk Skyum
439eb04254 Run ci on macos-12 (#434) 2022-09-08 17:10:35 +02:00
Birk Skyum
95f41105e8 Use self-hosted AWS runners (#426) 2022-09-08 05:23:14 +02:00
Birk Skyum
b5f5e425a6 Fix macos-ci using darwin-style-code instead of nitpick (#427) 2022-09-07 15:04:18 +02:00
Rob Labs
901ab18689 Fix for "NSExpression function is forbidden" (#411)
* For iOS 15.5, refactor how MGL Expressions are defined. Fix for "NSExpression function is forbidden" #331

* Convert CI Scheme to TestPlan. Add CI-Expressions TestPlan (which skips tests unrelated to `NSExpression`)

* Update Swift & Objective-C sample Code for MGL Expressions.  Use these patterns for fixing unit tests.

* Update Swift sample code & documentation for MGL expressions.  Update API docs (.h) & online docs (HTML) with:  `make darwin-style-code && make idocument`

* Refresh developer documentation for:  build dependencies, running unit tests from the command line, and logging in C++.

* Mark certain unit tests as "Expected Failures":  Awaiting unit test refactoring for https://github.com/maplibre/maplibre-gl-native/issues/331

* Update to latest Xcode & iOS SDK. Update GitHub Action Runner Images from https://github.com/actions/runner-images

* For iOS 15.5, add "Expected Failure" for tests

* Skip failing test unrelated to NSExpressions

* Convert macOS project to use Test Plans

* Exclude previously failing Offline Storage test

* Refactor MGL Match expressions for macOS & iOS 15.5

* Refactor Unit Tests so that "Excluded Failures" work for both macOS 12 & iOS 15.5

* Refresh documentation on how to test for macOS from the command line
2022-09-03 22:32:15 +02:00
Oliver Wipfli
c2d91477b1 Run render tests in CI (#357)
* Add render test workflow

* Sudo

* Add debug output

* Remove path

* Use xvfb

* Remove unneeded code

* Upload render query test artifact

* Always upload artifact

* Add failing tests to ignores file

* Rename workflow

* Fix file extension

* Change xvfb options

* Ignore x display errors

* Run render tests on macOS

* Upload render test artifacts

* Run linux render tests

* Revert runner changes

* Remove linux render test

* Remove ignores

* Add macos ignore

* Add documentation

* Update DEVELOPING.md

Co-authored-by: Tadej Novak <tadej@tano.si>
2022-08-13 12:42:10 +02:00
Birk Skyum
77a859f1ad Update github actions, and add dependabot to keep track of them (#387)
* dependabot for github actions

* Update github actions

* update ubuntu version from deprecated 18

* keep ubuntu 20
2022-08-11 11:29:22 +02:00
Tadej Novak
af36ed3456 Only override CMAKE_OSX_ARCHITECTURES for XCode (#352) 2022-08-06 17:27:47 +02:00
Oliver Wipfli
ca9a40eb53 Run iOS and Qt CI on main (#368) 2022-07-16 11:49:13 +02:00
Oliver Wipfli
4c85184885 Update issue templates (#347)
* Update issue templates

* Update .github/ISSUE_TEMPLATE/bug_report.md

* Update .github/ISSUE_TEMPLATE/bug_report.md

* Update .github/ISSUE_TEMPLATE/bug_report.md

* Update .github/ISSUE_TEMPLATE/bug_report.md
2022-07-05 11:45:52 +02:00
Oliver Wipfli
7a40d4cbd3 Remove redundant working directory in Android CI (#343) 2022-07-03 15:15:05 +02:00
Tadej Novak
9cd70bfe7f Qt build improvements and documentation (#277)
* Qt build improvements and documentation

* Update include/mbgl/actor/actor_ref.hpp

Co-authored-by: Oliver Wipfli <oliver.wipfli@leichteralsluft.ch>
2022-06-16 20:52:52 +02:00
Brendan Ward
6dbc711e07 CI: ignore non-target platforms / CI workflows from each CI workflow (#333)
* ignore non-target platforms / CI workflows from each CI workflow

* Add missing exclusions, try to fix concurrency

* Try different concurrency setting

* Concurrency needs to be at workflow rather than job level

* trivial commit to test canceling previous CI jobs

* Remove concurrency from android-ci

* Try without wildcard exclusions of CI workflows

* Try more specific path exclusions in other CI workflows

* Minor change to see if other workflows are triggered
2022-06-16 20:31:59 +02:00
Oliver Wipfli
03dc955683 Restrict cancel workflow (#330) 2022-06-15 15:14:06 -07:00
Oliver Wipfli
28bc0822d2 Add update-gl-js.yml workflow (#315)
* Add `update-gl-js.yml` workflow

* Add `update-gl-js.yml` workflow
2022-06-13 19:29:49 -07:00
Oliver Wipfli
1aeabf1fc6 Cancel previous CI run on new pull request push (#311)
Thanks for contributing to FOSS4G!
2022-06-13 19:26:51 -07:00
Oliver Wipfli
9b009cf9d3 Add iOS API docs workflow (#319) 2022-06-13 07:20:02 +02:00
Oliver Wipfli
d0df7efd07 Deploy to android/api GitHub Pages folder (#320) 2022-06-12 22:17:41 +02:00
Oliver Wipfli
9d05e4c1dd Add gh-pages-android-api workflow (#298) 2022-06-06 11:44:18 +02:00
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