Skip to content

Commit 0af02ff

Browse files
committed
Merge branch 'maven_central_migration'
# Conflicts: # README.md # platform/android/MapLibreAndroid/gradle.properties # platform/android/README.md # platform/android/build.gradle.kts # platform/android/buildSrc/src/main/kotlin/maplibre.artifact-settings.gradle.kts # platform/android/buildSrc/src/main/kotlin/maplibre.publish-root.gradle.kts # platform/android/docs/getting-started.md # test/android/build/reports/problems/problems-report.html
2 parents 814ee52 + 8c0da1c commit 0af02ff

70 files changed

Lines changed: 1570 additions & 1277 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/android-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Get all Android files that have changed
3131
if: github.event_name != 'workflow_dispatch'
3232
id: changed-files
33-
uses: tj-actions/changed-files@v45
33+
uses: tj-actions/changed-files@v46
3434
with:
3535
files_yaml_from_source_file: .github/changed-files.yml
3636

.github/workflows/android-device-test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,14 @@ jobs:
150150
export testSpecArn="${{ matrix.test.testSpecArn }}"
151151
export wait_for_completion=true
152152
153-
echo run_arn="$(./scripts/aws-device-farm/aws-device-farm-run.sh)" > "$GITHUB_ENV"
153+
run_arn="$(./scripts/aws-device-farm/aws-device-farm-run.sh)"
154+
exit_status=$?
155+
echo "run_arn=$run_arn" >> "$GITHUB_ENV"
156+
157+
# make sure workflow fails
158+
if [ $exit_status -ne 0 ]; then
159+
exit $exit_status
160+
fi
154161
155162
- name: Store Test Artifacts
156163
if: (matrix.test.name == 'Android Benchmark' || failure()) && env.run_device_test == 'true'

.github/workflows/gh-pages-mdbook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v4
20-
- uses: extractions/setup-just@v2
20+
- uses: extractions/setup-just@v3
2121
- name: Setup mdBook
2222
uses: peaceiris/actions-mdbook@v2
2323
- name: Install Dependencies

.github/workflows/ios-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Get all iOS files that have changed
4444
if: github.event_name != 'workflow_dispatch'
4545
id: changed-files-yaml
46-
uses: tj-actions/changed-files@v45
46+
uses: tj-actions/changed-files@v46
4747
with:
4848
files_yaml_from_source_file: .github/changed-files.yml
4949

@@ -215,7 +215,7 @@ jobs:
215215

216216
- name: VERSION file changed
217217
id: version-file-ios-changed
218-
uses: tj-actions/changed-files@v45
218+
uses: tj-actions/changed-files@v46
219219
with:
220220
files: platform/ios/VERSION
221221

.github/workflows/linux-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
if: github.event_name != 'workflow_dispatch'
3939
id: changed-files
4040

41-
uses: tj-actions/changed-files@v45
41+
uses: tj-actions/changed-files@v46
4242
with:
4343
files_yaml_from_source_file: .github/changed-files.yml
4444

.github/workflows/node-release.yml

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,9 @@ jobs:
6767
- name: Checkout
6868
uses: actions/checkout@v4
6969
with:
70+
submodules: true
7071
fetch-depth: 0
7172

72-
- name: Setup submodules
73-
shell: bash
74-
run: |
75-
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
76-
git submodule sync --recursive
77-
git -c core.longpaths=true -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive || true
78-
7973
- name: Get OS Architecture
8074
if: runner.os == 'MacOS' || runner.os == 'Linux'
8175
run: uname -m
@@ -106,7 +100,6 @@ jobs:
106100
libcurl4-openssl-dev \
107101
libglfw3-dev \
108102
libuv1-dev \
109-
g++-12 \
110103
libjpeg-dev \
111104
libpng-dev \
112105
libwebp-dev
@@ -137,7 +130,7 @@ jobs:
137130
if: ${{contains(runner.name, 'GitHub Actions')}}
138131
uses: jwlawson/actions-setup-cmake@v2
139132
with:
140-
cmake-version: '3.29.2'
133+
cmake-version: '3.31'
141134

142135
- name: cmake version
143136
run: |
@@ -174,14 +167,7 @@ jobs:
174167
- name: Configure maplibre-native (MacOS)
175168
if: runner.os == 'MacOS'
176169
run: |
177-
cmake . -B build \
178-
-G Ninja \
179-
-DCMAKE_BUILD_TYPE=${{ env.BUILDTYPE }} \
180-
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
181-
-DMLN_WITH_NODE=ON \
182-
-DMLN_WITH_OPENGL=OFF \
183-
-DMLN_WITH_METAL=ON \
184-
-DMLN_WITH_WERROR=OFF
170+
cmake --preset macos-node -DCMAKE_BUILD_TYPE=${{ env.BUILDTYPE }}
185171
186172
- name: Configure maplibre-native (Linux)
187173
if: runner.os == 'Linux'
@@ -191,7 +177,6 @@ jobs:
191177
-DCMAKE_BUILD_TYPE=${{ env.BUILDTYPE }} \
192178
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
193179
-DCMAKE_C_COMPILER=gcc-12 \
194-
-DCMAKE_CXX_COMPILER=g++-12 \
195180
-DMLN_WITH_NODE=ON
196181
197182
- name: "Create directory '${{ github.workspace }}/platform/windows/vendor/vcpkg/bincache' (Windows)"
@@ -214,11 +199,12 @@ jobs:
214199
215200
- name: Configure maplibre-native (Windows)
216201
if: runner.os == 'Windows'
202+
shell: pwsh
217203
run: |
218-
cmake . -B build \
219-
-G Ninja \
220-
-DCMAKE_BUILD_TYPE=${{ env.BUILDTYPE }} \
221-
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache \
204+
cmake . -B build `
205+
-G Ninja `
206+
-DCMAKE_BUILD_TYPE=${{ env.BUILDTYPE }} `
207+
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache `
222208
-DMLN_WITH_NODE=ON
223209
224210
- name: Build maplibre-native (MacOS/Linux)

.github/workflows/windows-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Get all Windows files that have changed
4444
if: github.event_name != 'workflow_dispatch'
4545
id: changed-files
46-
uses: tj-actions/changed-files@v45
46+
uses: tj-actions/changed-files@v46
4747
with:
4848
files_yaml_from_source_file: .github/changed-files.yml
4949

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
url = https://github.com/protomaps/PMTiles.git
5858
[submodule "vendor/maplibre-native-base/extras/args"]
5959
path = vendor/maplibre-native-base/extras/args
60-
url = git@github.com:Taywee/args.git
60+
url = https://github.com/Taywee/args
6161
[submodule "vendor/maplibre-native-base/extras/expected-lite"]
6262
path = vendor/maplibre-native-base/extras/expected-lite
6363
url = https://github.com/martinmoene/expected-lite.git

CMakePresets.json

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,36 @@
2828
"CMAKE_SYSTEM_NAME": "Darwin",
2929
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
3030
"MLN_WITH_METAL": "ON",
31-
"MLN_WITH_OPENGL": "OFF"
31+
"MLN_WITH_OPENGL": "OFF",
32+
"CMAKE_BUILD_TYPE": "Debug"
3233
}
3334
},
35+
{
36+
"name": "macos-xcode",
37+
"displayName": "macOS (Xcode)",
38+
"generator": "Xcode",
39+
"binaryDir": "${sourceDir}/build-macos-xcode",
40+
"inherits": "macos"
41+
},
3442
{
3543
"name": "macos-vulkan",
36-
"displayName": "macOS",
44+
"displayName": "macOS Vulkan",
3745
"generator": "Ninja",
3846
"binaryDir": "${sourceDir}/build-macos-vulkan",
47+
"inherits": "macos",
3948
"cacheVariables": {
40-
"CMAKE_SYSTEM_NAME": "Darwin",
41-
"CMAKE_CXX_COMPILER_LAUNCHER": "ccache",
4249
"MLN_WITH_VULKAN": "ON",
50+
"MLN_WITH_METAL": "OFF",
4351
"MLN_WITH_OPENGL": "OFF"
4452
}
4553
},
54+
{
55+
"name": "macos-vulkan-xcode",
56+
"displayName": "macOS Vulkan (Xcode)",
57+
"generator": "Xcode",
58+
"binaryDir": "${sourceDir}/build-macos-vulkan-xcode",
59+
"inherits": "macos-vulkan"
60+
},
4661
{
4762
"name": "macos-node",
4863
"inherits": "macos",

docs/mdbook/src/SUMMARY.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,23 @@
22

33
[Introduction](./introduction.md)
44

5-
- [Platforms](./platforms.md)
5+
- [Platforms](./platforms/README.md)
6+
- [Android](./platforms/android/README.md)
7+
- [Tests](./platforms/android/android-tests.md)
8+
- [Documentation](./platforms/android/android-documentation.md)
9+
- [Benchmark](./platforms/android/benchmark.md)
10+
- [Release](./platforms/android/release.md)
11+
- [iOS](./platforms/ios/README.md)
12+
- [Tests](./platforms/ios/ios-tests.md)
13+
- [Documentation](./platforms/ios/ios-documentation.md)
14+
- [Release](./platforms/ios/release.md)
15+
- [Development Apps](./platforms/ios/dev-apps.md)
16+
- [macOS](./platforms/macos/README.md)
617

718
- [Release Policy](./release-policy.md)
819

920
- [Render Tests](./render-tests.md)
1021

11-
- [Android](./android/README.md)
12-
- [Tests](./android/android-tests.md)
13-
- [Documentation](./android/android-documentation.md)
14-
- [Benchmark](./android/benchmark.md)
15-
- [Release](android/release.md)
16-
17-
- [iOS](./ios/README.md)
18-
- [Tests](ios/ios-tests.md)
19-
- [Documentation](ios/ios-documentation.md)
20-
- [Release](ios/release.md)
21-
- [Development Apps](ios/dev-apps.md)
22-
2322
- [Design](./design/README.md)
2423
- [Ten Thousand Foot View](design/ten-thousand-foot-view.md)
2524
- [Coordinate System](design/coordinate-system.md)

0 commit comments

Comments
 (0)