-
Notifications
You must be signed in to change notification settings - Fork 74
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 experiement-surface-android
# Conflicts: # maplibre-winit/src/winit/mod.rs # maplibre/src/window.rs
- Loading branch information
Showing
74 changed files
with
2,177 additions
and
1,699 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
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
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,35 @@ | ||
name: windows-demo | ||
description: Build windows-demo for windows | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: extractions/setup-just@v1 | ||
- name: Install toolchain | ||
shell: bash | ||
run: just default-toolchain | ||
- uses: Swatinem/rust-cache@v1 | ||
- uses: ilammy/msvc-dev-cmd@v1 # Provide access to lib.exe | ||
- name: Install SQLite | ||
shell: powershell | ||
run: choco install sqlite -y --params "/NoTools" | ||
- name: Build SQLite lib | ||
shell: powershell | ||
run: | | ||
cd "C:\ProgramData\chocolatey\lib\SQLite\tools" | ||
lib /DEF:sqlite3.def /OUT:sqlite3.lib /MACHINE:x64 | ||
echo "SQLITE3_LIB_DIR=C:\ProgramData\chocolatey\lib\SQLite\tools" >> $env:GITHUB_ENV | ||
- name: Build | ||
shell: bash | ||
run: cargo build -p maplibre-demo --release --target x86_64-pc-windows-msvc | ||
- name: Check x86_64 windows | ||
shell: bash | ||
run: just check maplibre-demo x86_64-pc-windows-msvc | ||
- name: Test x86_64 windows | ||
shell: bash | ||
run: just test maplibre-demo x86_64-pc-windows-msvc | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: maplibre-x86_64-windows-demo | ||
path: target/x86_64-pc-windows-msvc/release/maplibre-demo.exe | ||
if-no-files-found: error |
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,18 @@ | ||
name: tests | ||
description: Run tests | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: extractions/setup-just@v1 | ||
- name: Install toolchain | ||
shell: bash | ||
run: just default-toolchain | ||
- uses: Swatinem/rust-cache@v1 | ||
- name: Install Dependencies | ||
shell: bash | ||
run: sudo apt-get install -y libwayland-dev libxkbcommon-dev # Required for winit | ||
- name: Test | ||
shell: bash | ||
# TODO: Additional test runs for different targets | ||
run: just test maplibre x86_64-unknown-linux-gnu |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
#[cfg(feature = "sqlite")] | ||
pub mod mbtiles; | ||
pub mod wgsl; |
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.