ci(nc-android): debug workflow, use precompiled tauri cli

This commit is contained in:
pierre
2023-02-09 22:47:28 +01:00
parent 9f2e7e16e5
commit 2ab969b2c6
2 changed files with 7 additions and 4 deletions
+6 -4
View File
@@ -57,12 +57,14 @@ jobs:
"ndk;$NDK_VERSION" \
"build-tools;$SDK_BUILDTOOLS_VERSION"
- name: Debug
run: |
echo $ANDROID_HOME
ls -la $ANDROID_HOME
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install tauri cli
run: cargo install tauri-cli --version "^2.0.0-alpha.2"
- name: Install rust android targets
run: |
rustup target add aarch64-linux-android \
@@ -96,7 +98,7 @@ jobs:
WRY_ANDROID_LIBRARY: nym_connect_android
# TODO build with release profile (--release), it will requires
# to sign the APK. For now build with debug profile to avoid that
run: cargo tauri android build --debug --apk --split-per-abi
run: yarn tauri android build --debug --apk --split-per-abi
# TODO add the version number to APK name
- name: Rename APK artifact
+1
View File
@@ -8,6 +8,7 @@
"webpack:dev": "yarn webpack serve --config webpack.dev.js",
"webpack:dev:onlyThis": "yarn webpack serve --config webpack.dev.js",
"webpack:prod": "yarn webpack --progress --config webpack.prod.js",
"tauri": "tauri",
"tauri:dev": "WRY_ANDROID_PACKAGE=net.nymtech.nym_connect_android WRY_ANDROID_LIBRARY=nym_connect_android cargo tauri android dev",
"tauri:build": "WRY_ANDROID_PACKAGE=net.nymtech.nym_connect_android WRY_ANDROID_LIBRARY=nym_connect_android cargo tauri android build",
"dev": "run-p webpack:dev:onlyThis tauri:dev",