Remove MLN_CORE_INCLUDE_DEPS add MLN_CREATE_AMALGAMATION (#4007)

This commit is contained in:
Bart Louwers
2025-12-11 23:37:39 +01:00
committed by GitHub
parent 797f2bb647
commit c18bbb35c6
13 changed files with 22 additions and 46 deletions

View File

@@ -57,7 +57,7 @@ jobs:
- name: Build mbgl-core for macOS
run: |
cmake --preset macos-metal -DCMAKE_CXX_COMPILER_LAUNCHER="" -DMLN_WITH_GLFW=OFF
cmake --preset macos-metal -DCMAKE_CXX_COMPILER_LAUNCHER="" -DMLN_WITH_GLFW=OFF -DMLN_CREATE_AMALGAMATION=ON
cmake --build build-macos-metal --target mbgl-core
- name: Rename artifact
@@ -110,7 +110,7 @@ jobs:
- name: Build mbgl-core for Linux
run: |
cmake --preset linux-${{ matrix.renderer }} -DCMAKE_CXX_COMPILER_LAUNCHER=""
cmake --preset linux-${{ matrix.renderer }} -DCMAKE_CXX_COMPILER_LAUNCHER="" -DMLN_CREATE_AMALGAMATION=ON
cmake --build build-linux-${{ matrix.renderer }} --target mbgl-core
- name: Rename artifact
@@ -153,7 +153,7 @@ jobs:
- name: Build mbgl-core for Windows
run: |
cmake --preset windows-${{ matrix.renderer }}-core -DCMAKE_CXX_COMPILER_LAUNCHER=""
cmake --preset windows-${{ matrix.renderer }} -DCMAKE_CXX_COMPILER_LAUNCHER=""
cmake --build --preset windows-${{ matrix.renderer }}-core
- name: Rename artifact

View File

@@ -79,14 +79,9 @@ jobs:
- name: Install dependencies
run: .github/scripts/install-linux-deps
- run: cargo install armerge@2.2.0
# TODO: use below once
# https://github.com/tux3/armerge/issues/14
# is fixed
# - uses: taiki-e/install-action@020705266844b275b711684191e11281be48860c # v2
# with:
# tool: armerge@2
- uses: taiki-e/install-action@020705266844b275b711684191e11281be48860c # v2
with:
tool: armerge@2
- if: matrix.variant.rust
run: cargo install cxxbridge-cmd --version 1.0.157 --locked