try out 3.13.9 with master

This commit is contained in:
rustdesk
2024-06-21 17:42:58 +08:00
Unverified
parent b2af79a3c5
commit cdf97f8717
2 changed files with 7 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ env:
RUST_VERSION: "1.75" # https://github.com/rustdesk/rustdesk/discussions/7503
CARGO_NDK_VERSION: "3.1.2"
LLVM_VERSION: "15.0.6"
FLUTTER_VERSION: "3.16.0"
FLUTTER_VERSION: "3.13.9"
FLUTTER_RUST_BRIDGE_VERSION: "1.80.1"
# for arm64 linux because official Dart SDK does not work
FLUTTER_ELINUX_VERSION: "3.16.9"
@@ -43,7 +43,7 @@ jobs:
target: aarch64-linux-android,
os: ubuntu-20.04,
openssl-arch: android-arm64,
ref: 3244395bfb37725eba6859302a17a2b4bf36dffb, # latest
ref: master, # latest
}
steps:
- name: Checkout source code
@@ -104,6 +104,7 @@ jobs:
git config --global core.longpaths true
cargo install flutter_rust_bridge_codegen --version ${{ env.FLUTTER_RUST_BRIDGE_VERSION }} --features "uuid"
sed -i 's/uni_links_desktop/#uni_links_desktop/g' flutter/pubspec.yaml
pushd flutter/lib; find . | grep dart | xargs sed -i 's/textScaler: TextScaler.linear(\(.*\)),/textScaleFactor: \1,/g'; popd;
pushd flutter ; flutter pub get ; popd
~/.cargo/bin/flutter_rust_bridge_codegen --rust-input ./src/flutter_ffi.rs --dart-output ./flutter/lib/generated_bridge.dart