Remove sqlite feature from windows build action (#120)

* rm sqlite

* rm sqlite install

* update build dependencies

Co-authored-by: Maximilian Ammann <max@maxammann.org>
This commit is contained in:
Jackson Shi 2022-06-11 17:08:07 +08:00 committed by GitHub
parent b202dc8dd4
commit 74ca3ae4e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 11 deletions

View File

@ -15,15 +15,6 @@ jobs:
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

View File

@ -11,7 +11,7 @@ readme = "../README.md"
[features]
web-webgl = ["wgpu/webgl"]
# Enable tracing using tracy on desktop/mobile and the chrome profiler on web
trace = [ "tracing-subscriber", "tracing-tracy", "tracy-client"]
trace = ["tracing-subscriber", "tracing-tracy", "tracy-client"]
no-thread-safe-futures = []
embed-static-tiles = ["maplibre-build-tools/sqlite"]
headless = ["png"]
@ -85,4 +85,4 @@ smallvec = "1.8"
png = { version = "0.17", optional = true }
[build-dependencies]
maplibre-build-tools = { path = "../maplibre-build-tools", version = "0.1.0", features = ["sqlite"] }
maplibre-build-tools = { path = "../maplibre-build-tools", version = "0.1.0" }