mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Fix android checks
This commit is contained in:
parent
cc5bb38e46
commit
f647525cc5
4
.github/workflows/library-android.yml
vendored
4
.github/workflows/library-android.yml
vendored
@ -32,13 +32,13 @@ jobs:
|
||||
run: |
|
||||
env "AR_x86_64-linux-android=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar" \
|
||||
env "CC_x86_64-linux-android=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android30-clang" \
|
||||
just check maplibre-android x86_64-linux-android
|
||||
just nightly-check maplibre-android x86_64-linux-android ""
|
||||
- name: Check aarch64
|
||||
shell: bash
|
||||
run: |
|
||||
env "AR_aarch64-linux-android=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar" \
|
||||
env "CC_aarch64-linux-android=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android30-clang" \
|
||||
just check maplibre-android aarch64-linux-android
|
||||
just nightly-check maplibre-android aarch64-linux-android ""
|
||||
# FIXME: Requires cross-compilation
|
||||
#- name: Test
|
||||
# shell: bash
|
||||
|
||||
2
.github/workflows/library-web.yml
vendored
2
.github/workflows/library-web.yml
vendored
@ -52,7 +52,7 @@ jobs:
|
||||
run: just web-demo build
|
||||
- name: Check
|
||||
shell: bash
|
||||
run: just web-check ${{ inputs.webgl && 'web-webgl' || '""' }}
|
||||
run: just nightly-check web wasm32-unknown-unknown ${{ inputs.webgl && 'web-webgl' || '""' }}
|
||||
- name: Test
|
||||
shell: bash
|
||||
run: just web-test "web-webgl"
|
||||
|
||||
6
justfile
6
justfile
@ -53,6 +53,9 @@ fixup:
|
||||
check PROJECT ARCH: stable-install-clippy
|
||||
cargo clippy --no-deps -p {{PROJECT}} --target {{ARCH}}
|
||||
|
||||
nightly-check PROJECT ARCH FEATURES: nightly-toolchain nightly-install-clippy
|
||||
export RUSTUP_TOOLCHAIN=$NIGHTLY_TOOLCHAIN && cargo clippy --no-deps -p {{PROJECT}} --features "{{FEATURES}}" --target {{ARCH}}
|
||||
|
||||
test PROJECT ARCH:
|
||||
cargo test -p {{PROJECT}} --target {{ARCH}}
|
||||
|
||||
@ -82,9 +85,6 @@ web-lib TARGET *FLAGS: nightly-toolchain (web-install "lib")
|
||||
web-demo TARGET *FLAGS: (web-install "demo")
|
||||
cd web/demo && npm run {{TARGET}} -- {{FLAGS}}
|
||||
|
||||
web-check FEATURES: nightly-toolchain nightly-install-clippy
|
||||
export RUSTUP_TOOLCHAIN=$NIGHTLY_TOOLCHAIN && cargo clippy --no-deps -p web --features "{{FEATURES}}" --target wasm32-unknown-unknown
|
||||
|
||||
web-test FEATURES: nightly-toolchain
|
||||
export RUSTUP_TOOLCHAIN=$NIGHTLY_TOOLCHAIN && cargo test -p web --features "{{FEATURES}}" --target wasm32-unknown-unknown
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user