-
-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into symbol-ubo-consolidation
- Loading branch information
Showing
1,304 changed files
with
43,057 additions
and
781 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Avoid line conversions between Unix (LF) and Windows (CRLF) | ||
|
||
test/fixtures/storage/assets/* binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: MapLibre Android Bug Report | ||
description: Report a bug you encountered with MapLibre Android. | ||
labels: ["android"] | ||
type: "bug" | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! | ||
- type: input | ||
id: version | ||
attributes: | ||
label: MapLibre Android Version | ||
placeholder: e.g. 11.6.2 | ||
validations: | ||
required: true | ||
- type: input | ||
id: android-version | ||
attributes: | ||
label: Android SDK Version | ||
placeholder: e.g. Android 10 | ||
validations: | ||
required: true | ||
- type: input | ||
id: device | ||
attributes: | ||
label: Device | ||
description: "Enter the device that you encountered the issue on or enter 'Simulator' if you only see this issue in a simulator." | ||
placeholder: Google Pixel 7 Pro | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: what-happened | ||
attributes: | ||
label: What happened? | ||
description: Also tell us, what did you expect to happen? | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: repro | ||
attributes: | ||
label: Steps to reproduce | ||
description: Explain how the issue can be reproduced. | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: renderer | ||
attributes: | ||
label: Renderer | ||
multiple: true | ||
options: | ||
- OpenGL (choose this if you are unsure) | ||
- Vulkan | ||
description: Mostly relevant for rendering issues. | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Relevant log output | ||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. | ||
render: shell | ||
- type: textarea | ||
id: context | ||
attributes: | ||
label: Additional context | ||
description: Additional context such as screenshots or videos that are helpful. | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,40 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
name: General Bug report | ||
about: Create a report to help us improve. | ||
title: '' | ||
labels: bug | ||
type: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
<!-- If your issue is about MapLibre iOS or MapLibre Android, please use the corresponding template. --> | ||
|
||
**Describe the bug** | ||
|
||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
|
||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
|
||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
|
||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Platform information (please complete the following information):** | ||
- OS: [e.g. iOS] | ||
- Platform [e.g. Qt, Node.js, iOS] | ||
- Version [e.g. 22] | ||
|
||
- Operating System: | ||
- Platform (e.g. Node.js, Qt): | ||
- Version: | ||
|
||
**Additional context** | ||
|
||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: MapLibre iOS Bug Report | ||
description: Report a bug you encountered with MapLibre iOS. | ||
labels: ["ios"] | ||
type: "bug" | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! | ||
- type: input | ||
id: version | ||
attributes: | ||
label: MapLibre iOS Version | ||
placeholder: e.g. 6.8.1 | ||
validations: | ||
required: true | ||
- type: input | ||
id: ios-version | ||
attributes: | ||
label: iOS Version | ||
placeholder: e.g. 6.8.1 | ||
validations: | ||
required: true | ||
- type: input | ||
id: device | ||
attributes: | ||
label: Device | ||
description: "Enter the device that you encountered the issue on or enter 'Simulator' if you only see this issue in a simulator." | ||
placeholder: iPhone 15 Pro | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: what-happened | ||
attributes: | ||
label: What happened? | ||
description: Also tell us, what did you expect to happen? | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: repro | ||
attributes: | ||
label: Steps to reproduce | ||
description: Explain how the issue can be reproduced. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Relevant log output | ||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. | ||
render: shell | ||
- type: textarea | ||
id: context | ||
attributes: | ||
label: Additional context | ||
description: Additional context such as screenshots or videos that are helpful. | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
$compile_flags = @( | ||
'-DCMAKE_POLICY_DEFAULT_CMP0141=NEW', | ||
'-DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded', | ||
'-DCMAKE_BUILD_TYPE=RelWithDebInfo' | ||
) | ||
|
||
switch ($env:RENDERER) | ||
{ | ||
'opengl' { $compile_flags += '-DMLN_WITH_OPENGL=ON'; break; } | ||
'egl' { $compile_flags += '-DMLN_WITH_EGL=ON' ; break; } | ||
'vulkan' { $compile_flags += @('-DMLN_WITH_VULKAN=ON', '-DMLN_WITH_OPENGL=OFF'); break; } | ||
'osmesa' { $compile_flags += '-DMLN_WITH_OSMESA=ON'; break; } | ||
} | ||
|
||
switch ($env:RENDERING_MODE) | ||
{ | ||
'legacy' { $compile_flags += '-DMLN_LEGACY_RENDERER=ON' ; break; } | ||
'drawable' { $compile_flags += '-DMLN_DRAWABLE_RENDERER=ON'; break; } | ||
} | ||
|
||
Write-Host 'Compile flags: ' $compile_flags | ||
|
||
& cmake -B build -G Ninja $($compile_flags) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -123,6 +123,8 @@ jobs: | |
- uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ${{ github.job }} | ||
append-timestamp: false | ||
max-size: 5G | ||
|
||
- name: restore-gradle-cache | ||
uses: actions/cache@v4 | ||
|
@@ -144,8 +146,8 @@ jobs: | |
run: make android-lib-arm-v8 | ||
|
||
- name: Build API documentation | ||
run: ./gradlew dokkaHtml | ||
run: ./gradlew dokkaGenerate | ||
|
||
- name: Build Examples documentation | ||
run: make mkdocs-build | ||
|
||
|
@@ -210,6 +212,18 @@ jobs: | |
working-directory: test/android | ||
|
||
steps: | ||
- name: Free Disk Space (Ubuntu) | ||
if: startsWith(runner.name, 'GitHub Actions') | ||
uses: jlumbroso/free-disk-space@main | ||
with: | ||
tool-cache: false | ||
android: false | ||
dotnet: true | ||
haskell: true | ||
large-packages: true | ||
docker-images: true | ||
swap-storage: false | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
@@ -229,6 +243,8 @@ jobs: | |
- uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ${{ github.job }} | ||
append-timestamp: false | ||
max-size: 5G | ||
|
||
- name: Create data.zip in assets directory | ||
run: zip -r test/android/app/src/main/assets/data.zip -@ < test/android/app/src/main/assets/to_zip.txt | ||
|
@@ -283,6 +299,8 @@ jobs: | |
- uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ${{ github.job }} | ||
append-timestamp: false | ||
max-size: 5G | ||
|
||
- name: Get CMake and Ninja | ||
uses: lukka/get-cmake@latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,12 +23,11 @@ jobs: | |
java-version: "17" | ||
|
||
- name: Generate documentation | ||
run: ./gradlew dokkaHtml | ||
run: ./gradlew dokkaGenerate | ||
|
||
- name: Deploy 🚀 | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: platform/android/MapLibreAndroid/build/dokka/html | ||
target-folder: android/api/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.