-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev-toolchain.sh
More file actions
executable file
·38 lines (33 loc) · 949 Bytes
/
Copy pathdev-toolchain.sh
File metadata and controls
executable file
·38 lines (33 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh -v
# https://dioxuslabs.com/learn/0.7/getting_started/
sudo apt update
sudo apt install libwebkit2gtk-4.1-dev \
xmlstarlet \
qemu-kvm \
libvirt-daemon-system \
libvirt-clients \
bridge-utils \
build-essential \
cpu-checker \
curl \
wget \
file \
libxdo-dev \
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev \
lld
# check kvm for android emulator
# https://developer.android.com/studio/run/emulator-acceleration#vm-linux-check-kvm
egrep -c '(vmx|svm)' /proc/cpuinfo
sudo kvm-ok
# cargo-ndk for building Rust libraries for Android (UniFFI bindings)
# https://github.com/nickelc/cargo-ndk
cargo install cargo-ndk
# Android Rust cross-compilation targets
"$(dirname "$0")/dev-android-targets.sh"
# Gradle for generating gradle wrapper (or just open in Android Studio)
sudo apt install gradle
# Tools used in ci verification & ./lint.sh
cargo binstall --locked cargo-deny
pip install --user yamllint