Skip to content
Draft
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
323 commits
Select commit Hold shift + click to select a range
98f6bd2
implement custom user location annotation using indicator layer
yousifd Apr 16, 2025
acde9b5
add ability to select new indicator layer instead of faux 3d user loc…
yousifd Apr 16, 2025
623ee42
add icons for indicator layer
yousifd Apr 16, 2025
8137dc6
fix cmake build
yousifd Apr 17, 2025
afed686
prepare android release
yousifd Apr 17, 2025
d5644e7
Merge pull request #13 from HudHud-Maps/android_release
yousifd Apr 17, 2025
231db82
Merge pull request #12 from maplibre/main
yousifd Apr 17, 2025
9c80eeb
don't export the new location indicator layer
yousifd Apr 17, 2025
7315399
resolve test failures due to transition option changes
yousifd Apr 17, 2025
2465ac2
Merge pull request #9 from HudHud-Maps/location_indicator_layer_ios_2
yousifd Apr 17, 2025
505999e
make ios release
yousifd Apr 17, 2025
bd22d3d
Merge pull request #14 from HudHud-Maps/ios_version
yousifd Apr 17, 2025
dbd4286
follow location indicator during navigation with a flag
yousifd Apr 19, 2025
4c4644c
Merge pull request #15 from HudHud-Maps/fix_camera_follow_during_nav
yousifd Apr 19, 2025
d13486e
push dsym files with ios releases
yousifd Apr 22, 2025
16ce446
fix mln transition conversion logic for ios
yousifd Apr 22, 2025
1f89fb1
handle all cleanup and failure cases due to style changes
yousifd Apr 22, 2025
0402cc3
make new ios release
yousifd Apr 22, 2025
8d6ee5d
Merge pull request #16 from HudHud-Maps/fix_crash_when_reloading
yousifd Apr 22, 2025
b42b8c8
Merge branch 'main' into rebase_main
yousifd May 2, 2025
4a0e949
Merge pull request #18 from HudHud-Maps/rebase_main
yousifd May 2, 2025
6ff8414
modify the map transform implementation to make it extendable
yousifd May 1, 2025
6ac1c67
implement the TransformActive class
yousifd May 1, 2025
a1e1460
make map transform tests parameterized to test the new TransformActiv…
yousifd May 1, 2025
de41cbf
expose the ability to toggle between the old map transform and the ac…
yousifd May 1, 2025
4bf872d
wrap cancelAnimations in the mlnmapview interface to allow for concur…
yousifd May 1, 2025
1b02ac0
call animationfinishfn only for the properties that will be replaced
yousifd May 1, 2025
3aa71f8
replace transform pointer with unique_ptr
yousifd May 2, 2025
80ff780
resolve android build issues + cleanup anchor changes
yousifd May 2, 2025
73efdfe
add documentation to transform active and add constructor to fix buil…
yousifd May 4, 2025
c6afc4c
prepare ios release 6.13.1
yousifd May 4, 2025
7008e39
Merge pull request #17 from HudHud-Maps/improved_camera_animations
yousifd May 4, 2025
24f96a7
ensure that we set properties of transform state correclty in active …
yousifd May 19, 2025
e029140
expose canceling animations for the setCamera function call
yousifd May 19, 2025
e408433
rename followlocationindicatorduringgesture to concurrentAnimations
yousifd May 19, 2025
160414b
set properties for transform at the start of updateTransitions
yousifd May 19, 2025
df5609e
make ios 6.13.2 release
yousifd May 19, 2025
088e82e
Merge pull request #19 from HudHud-Maps/cleanup_active_transform
yousifd May 20, 2025
e920e97
Merge branch 'main' into maplibre_latest_2
yousifd May 22, 2025
a502e63
Merge pull request #22 from HudHud-Maps/maplibre_latest_2
yousifd May 22, 2025
fdb3ea7
Merge branch 'maplibre:main' into main
yousifd May 26, 2025
acd62df
add android write permissions
yousifd May 26, 2025
116c2e8
only update cull mode and winding order when necessary
yousifd May 26, 2025
fadaefb
make ios 6.14.0 release
yousifd May 26, 2025
b7995a8
Merge pull request #23 from HudHud-Maps/fix_performance
yousifd May 26, 2025
b9427aa
disbale building android debug packages
yousifd May 27, 2025
e789d2d
Merge pull request #24 from HudHud-Maps/fix_android_release
yousifd May 28, 2025
9a8c81f
Merge branch 'main' into latest_maplibre
yousifd Jun 2, 2025
ac5dd44
Merge pull request #26 from HudHud-Maps/latest_maplibre
yousifd Jun 3, 2025
551bd57
Merge branch 'maplibre:main' into main
yousifd Jun 3, 2025
37d584c
Merge branch 'main' into latest_maplibre
yousifd Jun 3, 2025
decd705
Merge pull request #27 from HudHud-Maps/latest_maplibre
yousifd Jun 4, 2025
648c36f
Merge branch 'main' into latest_maplibre
yousifd Jun 4, 2025
96c25c4
Merge branch 'maplibre_main' into latest_maplibre
yousifd Jun 11, 2025
4349388
Merge pull request #28 from HudHud-Maps/latest_maplibre
yousifd Jun 11, 2025
b7b4391
synchronise camera animation duration with location updates during na…
yousifd Jun 12, 2025
87f2089
Merge pull request #29 from HudHud-Maps/sync_camera_animations_to_loc…
yousifd Jun 12, 2025
a3ed1a6
Pass correct permissions to android-ci workflow
yousifd Jun 12, 2025
c7a6ed6
Merge pull request #30 from HudHud-Maps/fix_android_release
yousifd Jun 12, 2025
94e61f2
Merge branch 'maplibre:main' into main
yousifd Jun 19, 2025
6e8b2a1
expose concurrent camera animations to android
yousifd Jun 19, 2025
be31aab
make new android release
yousifd Jun 19, 2025
eecfbde
Merge pull request #32 from HudHud-Maps/android_concurrent_camera_ani…
yousifd Jun 22, 2025
0355f31
make release notes for android release
yousifd Jun 22, 2025
fa2b9ba
Merge pull request #33 from HudHud-Maps/fix_android_release
yousifd Jun 22, 2025
918b86f
fix android ci to make debug releases
yousifd Jun 24, 2025
036ad45
make android 11.10.5 release
yousifd Jun 24, 2025
bf762c0
Merge pull request #34 from HudHud-Maps/android_debug_release
yousifd Jun 24, 2025
b0acf6e
Merge branch 'main' into maplibre_latest
yousifd Jun 25, 2025
36a9f89
Merge pull request #35 from HudHud-Maps/maplibre_latest
yousifd Jun 25, 2025
dd26536
Merge branch 'main' into maplibre_latest
yousifd Jun 26, 2025
da0b6a8
make ios release 6.15.2
yousifd Jun 26, 2025
c6eb9e9
Merge pull request #36 from HudHud-Maps/maplibre_latest
yousifd Jun 26, 2025
13ce2e5
Removed GLTF Custom Layer from map engine
Jul 1, 2025
2463650
Revert "Reduce duplicate GPU buffer uploads (#3577)"
yousifd Jul 2, 2025
8d68df2
make ios 6.15.3 release
yousifd Jul 2, 2025
22febf6
Merge pull request #38 from HudHud-Maps/revert_optimization
yousifd Jul 2, 2025
fff5a2b
Added near clip matrix
Jul 2, 2025
5aa01ea
feat(annotations): Support re-creating the user’s location annotation
AbdulelahHajjar Jul 3, 2025
bcc1129
Merge pull request #37 from HudHud-Maps/feature/support-recreate-user…
yousifd Jul 3, 2025
51d4428
Merge branch 'main' into maplibre_latest
yousifd Jul 6, 2025
7f7697c
Merge pull request #40 from HudHud-Maps/maplibre_latest
yousifd Jul 6, 2025
4039694
Very prelim
Jul 7, 2025
705fc66
Merge branch 'main' into feature/2025-07-raw-bucket
Jul 7, 2025
c3571d8
Merge branch 'maplibre:main' into main
yousifd Jul 9, 2025
cb546ff
revert change that broke zooming
yousifd Jul 9, 2025
8042cfe
make new ios release 6.17.1
yousifd Jul 9, 2025
54783c5
Merge pull request #41 from HudHud-Maps/fix_symbols_missing
yousifd Jul 9, 2025
5f3b257
fix callbacks when calling setcontentinset
yousifd Jul 10, 2025
33e26aa
make new release 6.17.2
yousifd Jul 10, 2025
3e850cd
Merge pull request #42 from HudHud-Maps/fix_follow_callbacks
yousifd Jul 10, 2025
61817e3
consolidate concurrent camera animations with changes after maplibre …
yousifd Jul 22, 2025
bc18431
release new ios version
yousifd Jul 24, 2025
134c025
Merge pull request #44 from HudHud-Maps/concurrent_transform_fixed
yousifd Jul 24, 2025
3aa92db
Initial commit
Jul 25, 2025
4e2f4e6
Updates
Jul 25, 2025
20b7985
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 25, 2025
dd26f7c
Merge branch 'main' into feature/2025-07-raw-bucket
Jul 25, 2025
de3897a
Reverting some logging
Jul 25, 2025
f8d5a5b
Merge branch 'feature/2025-07-raw-bucket' of github.com:AtlasProgramm…
Jul 25, 2025
7f3ab5f
Removed unused include
Jul 25, 2025
c8cc544
Removed unused header
Jul 25, 2025
3458614
Initial commit of style filters
Jul 25, 2025
f4d1ef4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 25, 2025
58f352e
Little bit of cleanup
Jul 25, 2025
6594a7e
Merge branch 'feature/2025-07-style-filters' of github.com:AtlasProgr…
Jul 25, 2025
c817bff
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 25, 2025
4a54021
Added feature collections to cmake
Jul 25, 2025
987a384
Removing array type for now
Jul 25, 2025
37f8e67
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 25, 2025
8654fc2
Cleanp
Jul 26, 2025
535927b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 26, 2025
faeb360
Changed to filter the loadJSON path as well
Jul 26, 2025
9337cf1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 26, 2025
b10ecb0
Minor cleanup
Jul 26, 2025
8c8381b
Merge branch 'feature/2025-07-style-filters' of github.com:AtlasProgr…
Jul 26, 2025
432f16f
Cleanup cruft
Jul 26, 2025
4413910
Added style filter to cmake list
Jul 26, 2025
2c0c768
Added header to fix build error
Jul 26, 2025
b6a59e3
Initial commit of adding support for custom protocols
Jul 26, 2025
73ca452
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 26, 2025
9f9f84c
Cleanup
Jul 27, 2025
b7f85bb
Adding more properties to the platform request
Jul 27, 2025
1ab94b5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 27, 2025
bd0ced9
Cmake update
Jul 27, 2025
85edacf
Merge branch 'main' into feature/2025-07-style-filters
Jul 27, 2025
fb99190
Fix for swift app compile
Jul 27, 2025
e126973
Updates for cmake
Jul 27, 2025
1fa1a0e
Added header back in the right place this time
Jul 27, 2025
10c8c0d
Fix compiler error
Jul 28, 2025
87b27bc
More compiler errors
Jul 28, 2025
d6a7000
Re-ordered headers
Jul 28, 2025
5ba266c
fix set content inset to call the correct function
yousifd Jul 28, 2025
b031501
Merge pull request #45 from HudHud-Maps/fix_setcontentinset
yousifd Jul 28, 2025
f24f86c
expose frustum offset to internal API and modify projection matrix to…
yousifd Jul 24, 2025
decae8c
expose frustumoffset to ios and add scissor test to the metal drawable
yousifd Jul 24, 2025
4ebca1d
remove repeated properties
yousifd Jul 24, 2025
e170243
expose frustumoffset to vulkan and use it for scissor test
yousifd Jul 24, 2025
54c8e00
expose frustum offset to opengl and use it for scissor test
yousifd Jul 24, 2025
4d98044
ignore files that aren't used
yousifd Jul 24, 2025
da37dbf
resolve build issues
yousifd Jul 24, 2025
f117cd3
add missing vulkan and opengl files
yousifd Jul 24, 2025
ce92aae
resolve issues with previous setup
yousifd Jul 27, 2025
a06d243
make ios and android release
yousifd Jul 27, 2025
eae8078
Starting to add android implementation
Jul 29, 2025
7d27873
Passing along the byte buffer from the plugin to the native response
Jul 29, 2025
73d9278
Update src/mbgl/plugin/feature_collection.hpp
AtlasProgramming Jul 29, 2025
386b898
Update src/mbgl/plugin/plugin_layer_render.cpp
AtlasProgramming Jul 29, 2025
34d9abf
Updafed with feedback
Jul 29, 2025
b9b1240
Merge branch 'feature/2025-07-raw-bucket' of github.com:AtlasProgramm…
Jul 29, 2025
54f4ba1
Merge pull request #6 from AtlasProgramming/feature/2025-07-custom-pr…
AtlasProgramming Jul 29, 2025
9c3ef30
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 29, 2025
f408282
Updates
Jul 29, 2025
3406120
Added example plugin
Jul 30, 2025
bad2228
Merge branch 'main' into latest_maplibre
yousifd Jul 30, 2025
4a8010c
Updated the file source name
Aug 1, 2025
3f0f75e
Merge pull request #3 from AtlasProgramming/feature/2025-07-raw-bucket
AtlasProgramming Aug 1, 2025
f70b365
Merge branch 'maplibre-plus' into feature/2025-07-style-filters
Aug 1, 2025
417260a
Merge pull request #4 from AtlasProgramming/feature/2025-07-style-fil…
AtlasProgramming Aug 1, 2025
a7cf398
Merge branch 'maplibre-plus' into feature/2025-07-custom-protocol
Aug 1, 2025
0f1945b
Merge pull request #5 from AtlasProgramming/feature/2025-07-custom-pr…
AtlasProgramming Aug 1, 2025
b48fabb
Merge branch 'main' into maplibre-plus
Aug 1, 2025
0199769
Clean up from merge
Aug 1, 2025
a75ca03
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 1, 2025
6c10c0c
cleanup code and remove unnecessary logic
yousifd Jul 31, 2025
1c1e73e
Merge pull request #43 from HudHud-Maps/frustum_offset
yousifd Aug 5, 2025
9688d7d
Added a couple of delegate methods to the network delegate
Aug 6, 2025
c6b64c2
Merge branch 'maplibre-plugins' of github.com:AtlasProgramming/maplib…
Aug 6, 2025
f6684f5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 6, 2025
5803016
Merge branch 'main' into maplibre-plugins
Aug 6, 2025
8f89266
make new ios release with fix
yousifd Aug 6, 2025
297bf79
Merge pull request #48 from HudHud-Maps/fix_concurrent_animations
yousifd Aug 6, 2025
3022a56
Merge branch 'maplibre_main' into latest_maplibre
yousifd Aug 6, 2025
f56c28a
Merge branch 'main' into latest_maplibre
yousifd Aug 6, 2025
1f2c150
fix conflicts after merging from main
yousifd Aug 6, 2025
51376e5
Merge pull request #46 from HudHud-Maps/latest_maplibre
yousifd Aug 6, 2025
e5fd8cf
Merge branch 'maplibre/feature/2025-08-plugins' into feature/2025-08-…
Aug 6, 2025
14d0f1e
remove release announcements because they announce in the maplibre:ma…
yousifd Aug 7, 2025
5a82164
Merge pull request #50 from HudHud-Maps/remove_release_announcement
yousifd Aug 7, 2025
216dd74
Update native_map_view.cpp
AtlasProgramming Aug 10, 2025
61dfbb3
Removed single feature loaded function
Aug 10, 2025
35e3ae2
Merge pull request #51 from HudHud-Maps/maplibre/feature/2025-08-plugins
AtlasProgramming Aug 10, 2025
8285841
Merge branch 'feature/2025-07-Remove-GLTF-CustomLayer' into feature/2…
Aug 11, 2025
de359a8
Update
Aug 11, 2025
cc6e8a5
Merge branch 'feature/2025-08-plugins' of github.com:HudHud-Maps/mapl…
Aug 11, 2025
1bdd227
fix frustum offset in android and ios
yousifd Aug 20, 2025
46326ce
target macos-14 for ci
yousifd Aug 20, 2025
ad83a71
new ios and android release
yousifd Aug 20, 2025
6472974
Merge pull request #53 from HudHud-Maps/fix_frustum_offset
yousifd Aug 20, 2025
89cb755
only update offset if we call `setVertexBuffer` previously
yousifd Aug 28, 2025
e73f0d0
make new ios release
yousifd Aug 28, 2025
37c4735
Merge pull request #55 from HudHud-Maps/always_bind_buffer
yousifd Aug 28, 2025
e835e1f
Merge branch 'maplibre_main' into maplibre_latest
yousifd Sep 14, 2025
0eb5026
resolve merge issues
yousifd Sep 14, 2025
5233bcc
make new ios and android release
yousifd Sep 14, 2025
9390600
Added network delegate methods
Sep 14, 2025
04a34ac
Added retain
Sep 14, 2025
c071655
Updates
Sep 14, 2025
0b76289
Merge pull request #56 from HudHud-Maps/maplibre_latest
yousifd Sep 14, 2025
6a36feb
Merge branch 'main' into feature/2025-09-network-delegate-updates
Sep 14, 2025
3f56a90
Updated metadata files
Sep 14, 2025
4c5be61
Updates to pass pre-commit
Sep 14, 2025
361b51f
Merge pull request #57 from HudHud-Maps/feature/2025-09-network-deleg…
yousifd Sep 14, 2025
1d149f2
free up diskspace when building android release
yousifd Sep 15, 2025
f41cf61
Merge pull request #58 from HudHud-Maps/android_release_clean_storage
yousifd Sep 15, 2025
db4bead
Initial commit
Sep 22, 2025
321a959
Fix for export issue
Sep 23, 2025
35a0b0c
Added MLNFoundation
Sep 23, 2025
00a7eea
Incremented the build version
Sep 23, 2025
fbc21e9
Make the call to the delegate
Sep 24, 2025
d6bc190
Merge pull request #59 from HudHud-Maps/feature/2025-09-expose-networ…
yousifd Sep 24, 2025
cb1c34d
check if map is destroyed before calling toggleTransform and setFrust…
yousifd Oct 5, 2025
31b7143
make new android release
yousifd Oct 5, 2025
b409735
fix format issues
yousifd Oct 5, 2025
ec438d0
Merge pull request #61 from HudHud-Maps/fix_android_crash
yousifd Oct 5, 2025
f735f33
Merge remote-tracking branch 'maplibre/main' into maplibre_latest
yousifd Oct 12, 2025
0c5ea82
Merge branch 'main' into maplibre_latest
yousifd Oct 12, 2025
0a32e96
fix CI after latest maplibre changes
yousifd Oct 13, 2025
b35c77f
Merge pull request #62 from HudHud-Maps/maplibre_latest
yousifd Oct 14, 2025
af8b2ad
fix android CI release workflow
yousifd Oct 14, 2025
5dd811f
Merge pull request #63 from HudHud-Maps/fix_android_release
yousifd Oct 14, 2025
d4ea28f
Merge branch 'main' into feature/2025-08-plugins
Oct 15, 2025
7447ceb
Updated submodels
Oct 15, 2025
e7c6842
Updates
Oct 23, 2025
42bbb66
update
Oct 23, 2025
3a01160
Merge pull request #64 from maplibre/main
yousifd Oct 30, 2025
aff1b89
fix ios ci release flow and avoid immutable releases
yousifd Nov 2, 2025
78072b4
Merge pull request #66 from HudHud-Maps/fix_ios_release
yousifd Nov 2, 2025
113caeb
fix webgpu symbol rendering shader
yousifd Nov 2, 2025
337d5cc
Merge pull request #67 from HudHud-Maps/fix_webgpu_tests
yousifd Nov 2, 2025
afae565
Add a listener that watches the puck position
ahmedre Oct 31, 2025
10065e5
make new android release
yousifd Nov 6, 2025
5361d1d
Merge pull request #65 from HudHud-Maps/puck_position_listener
yousifd Nov 6, 2025
b423c10
test building android for release
yousifd Nov 6, 2025
35f2d27
use /mnt with symlinks
yousifd Nov 6, 2025
58eb6b7
Merge pull request #69 from HudHud-Maps/fix_android_release_ci_storage
yousifd Nov 6, 2025
a41a3d2
Merge branch 'main' into feature/2025-08-plugins
Nov 11, 2025
63c707c
Updated with precommit
Nov 11, 2025
83bb6f8
Android cleanup
Nov 11, 2025
f4f22d9
Cleaning up java files
Nov 12, 2025
64c0391
Change how render function is called
Nov 12, 2025
748b972
Fix for compiler issue
Nov 12, 2025
951ac20
Fix for android build issue
Nov 12, 2025
fbe70c9
Updated version
Nov 17, 2025
bd237ff
Compiler fixes for linux build
Nov 17, 2025
6382974
precommit fix
Nov 17, 2025
e8be6e6
Another linux build issue
Nov 17, 2025
9026b34
fix for android build
Nov 17, 2025
7847a00
Another fix for linux
Nov 17, 2025
9d6d5a5
Another linux build fix
Nov 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/scripts/free_disk_space.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#!/usr/bin/env bash
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


#
# The Azure provided machines typically have the following disk allocation:
# Total space: 85GB
# Allocated: 67 GB
# Free: 17 GB
# This script frees up 28 GB of disk space by deleting unneeded packages and
# large directories.
# The Flink end to end tests download and generate more than 17 GB of files,
# causing unpredictable behavior and build failures.
#
echo "=============================================================================="
echo "Freeing up disk space on CI system"
echo "=============================================================================="

echo "Listing 100 largest packages"
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | tail -n 100
df -h
echo "Removing large packages"
sudo apt-get remove -y '^ghc-8.*'
sudo apt-get remove -y '^dotnet-.*'
sudo apt-get remove -y '^llvm-.*'
sudo apt-get remove -y 'php.*'
sudo apt-get remove -y azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel
sudo apt-get autoremove -y
sudo apt-get clean
df -h
echo "Removing large directories"
# deleting 15GB
rm -rf /usr/share/dotnet/
df -h
29 changes: 16 additions & 13 deletions .github/workflows/android-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: android-ci

permissions:
id-token: write # needed for AWS
contents: write
actions: write

on:
push:
Expand All @@ -15,6 +17,7 @@ on:
branches:
- "*"


concurrency:
# cancel jobs on PRs only
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -54,8 +57,8 @@ jobs:
BUILDTYPE: Debug
IS_LOCAL_DEVELOPMENT: false
MLN_ANDROID_STL: c++_static
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN_ANDROID }}
# SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
# SENTRY_DSN: ${{ secrets.SENTRY_DSN_ANDROID }}
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
with:
Expand Down Expand Up @@ -96,10 +99,10 @@ jobs:
rm -rf venv
shell: bash

- if: env.SENTRY_DSN != ''
run: |
echo "SENTRY_ORG=maplibre" >> "$GITHUB_ENV"
echo "SENTRY_PROJECT=maplibre-android" >> "$GITHUB_ENV"
# - if: env.SENTRY_DSN != ''
# run: |
# echo "SENTRY_ORG=maplibre" >> "$GITHUB_ENV"
# echo "SENTRY_PROJECT=maplibre-android" >> "$GITHUB_ENV"

- uses: infotroph/tree-is-clean@69d598a958e8cb8f3d0e3d52b5ebcd8684f2adc2 # v1.0.6
with:
Expand Down Expand Up @@ -191,13 +194,13 @@ jobs:
cp MapLibreAndroidTestApp/build/outputs/apk/${{ matrix.renderer }}/debug/MapLibreAndroidTestApp-${{ matrix.renderer }}-debug.apk InstrumentationTestApp${{ env.renderer }}.apk
cp MapLibreAndroidTestApp/build/outputs/apk/androidTest/${{ matrix.renderer }}/debug/MapLibreAndroidTestApp-${{ matrix.renderer }}-debug-androidTest.apk InstrumentationTests${{ env.renderer }}.apk

- name: Install sentry-cli
if: env.SENTRY_DSN != ''
run: curl -sL https://sentry.io/get-cli/ | sh
# - name: Install sentry-cli
# if: env.SENTRY_DSN != ''
# run: curl -sL https://sentry.io/get-cli/ | sh

- name: Upload debug symbols to sentry
if: env.SENTRY_DSN != ''
run: sentry-cli debug-files upload MapLibreAndroidTestApp
# - name: Upload debug symbols to sentry
# if: env.SENTRY_DSN != ''
# run: sentry-cli debug-files upload MapLibreAndroidTestApp

- name: Upload android-ui-test-${{ matrix.renderer }}
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
Expand Down Expand Up @@ -315,7 +318,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
actions: write
contents: read
contents: write
if: needs.pre_job.outputs.should_skip != 'true' && always()
needs:
- pre_job
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/android-device-test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: android-device-test

on:
workflow_run:
workflows: [android-ci]
types:
- completed
workflow_dispatch:

permissions:
id-token: write # needed for AWS
Expand Down
51 changes: 14 additions & 37 deletions .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:

android-build-and-upload-release:
needs: android-create-release
runs-on: MapLibre_Native_Ubuntu_24_04_x84_16_core
runs-on: ubuntu-24.04
defaults:
run:
working-directory: platform/android
Expand All @@ -82,6 +82,10 @@ jobs:
with:
submodules: recursive

- name: Free disk space
working-directory: .
run: .github/scripts/free_disk_space.sh

- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v4
with:
node-version-file: ".nvmrc"
Expand Down Expand Up @@ -127,28 +131,16 @@ jobs:
platform/android/MapLibreAndroid/build/outputs/aar/MapLibreAndroid-${{ matrix.RENDERER }}-${{ env.buildtype }}-${{ needs.android-create-release.outputs.version_tag }}.aar
platform/android/build/debug-symbols-maplibre-android-${{ matrix.RENDERER }}-${{ env.buildtype }}-${{ needs.android-create-release.outputs.version_tag }}.tar.gz

- name: Prepare MavenCentral release
- name: Publish to Github
env:
GPG_KEY_CONTENTS: ${{ secrets.GPG_KEY_CONTENTS }}
run: |
echo "${GPG_KEY_CONTENTS}" | base64 -d > signing-key.gpg
shell: bash

- name: Publish to MavenCentral
GITHUB_TOKEN: ${{ secrets.MAPLIBRE_NATIVE_PRIVATE_TOKEN }}
run: |
renderer=${{ matrix.RENDERER }}
if [ "$renderer" = "opengl" ]; then
./gradlew :MapLibreAndroid:publishOpengl${{ env.buildtype }}PublicationToSonatypeRepository
./gradlew :MapLibreAndroid:publishDefault${{ env.buildtype }}PublicationToSonatypeRepository
else
./gradlew :MapLibreAndroid:publishVulkan${{ env.buildtype }}PublicationToSonatypeRepository
fi
env:
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
renderer=${{ matrix.RENDERER }}
if [ "$renderer" = "opengl" ]; then
./gradlew :MapLibreAndroid:publishDefault${{ env.buildtype }}PublicationToGithubPackagesRepository
else
./gradlew :MapLibreAndroid:publishVulkan${{ env.buildtype }}PublicationToGithubPackagesRepository
fi

finilize-release:
runs-on: ubuntu-latest
Expand All @@ -163,27 +155,12 @@ jobs:
name: ${{ needs.android-create-release.outputs.version_tag }}
draft: false

- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4

- uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v4
with:
distribution: "temurin"
java-version: "17"

- name: Close Sonatype staging repository
run: ./gradlew closeSonatypeStagingRepository
working-directory: platform/android
env:
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}

- run: npm install
working-directory: .

- name: Write release notifications
if: github.repository_owner == 'maplibre'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.MAPLIBRE_NATIVE_PRIVATE_TOKEN }}
run: node .github/scripts/notify-release-on-prs.ts --tag ${{ needs.android-create-release.outputs.version_tag }}
working-directory: .
2 changes: 1 addition & 1 deletion .github/workflows/core-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
vendor/maplibre-native-base/deps/geometry.hpp/include \
vendor/maplibre-native-base/deps/geojson.hpp/include \
vendor/metal-cpp \
vendor/maplibre-native-base/extras/expected-lite/include
vendor/expected-lite/include

- name: Create Release
if: github.event_name == 'workflow_dispatch'
Expand Down
Loading
Loading