Revert "Avoid double build of bridge fies"
This reverts commit f0f52d72448893b2d8e33a1304d92d8194fd4c47. Looks like macos and ios can use the same cached bridge but not linux one because of missing headers: Runner/bridge_generated.h
This commit is contained in:
parent
be0516c06c
commit
2702466cdf
13
.github/workflows/flutter-build.yml
vendored
13
.github/workflows/flutter-build.yml
vendored
@ -489,13 +489,12 @@ jobs:
|
|||||||
prefix-key: rustdesk-lib-cache-ios
|
prefix-key: rustdesk-lib-cache-ios
|
||||||
key: ${{ matrix.job.target }}-${{ matrix.job.extra-build-features }}
|
key: ${{ matrix.job.target }}-${{ matrix.job.extra-build-features }}
|
||||||
|
|
||||||
# TODO: Re-evaluate caching bridge with flutter-rust-bridge >= 1.81.0
|
- name: Install flutter rust bridge deps
|
||||||
# - name: Install flutter rust bridge deps
|
shell: bash
|
||||||
# shell: bash
|
run: |
|
||||||
# run: |
|
cargo install flutter_rust_bridge_codegen --version ${{ env.FLUTTER_RUST_BRIDGE_VERSION }} --features "uuid"
|
||||||
# cargo install flutter_rust_bridge_codegen --version ${{ env.FLUTTER_RUST_BRIDGE_VERSION }} --features "uuid"
|
pushd flutter && flutter pub get && 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 --c-output ./flutter/ios/Runner/bridge_generated.h
|
||||||
# ~/.cargo/bin/flutter_rust_bridge_codegen --rust-input ./src/flutter_ffi.rs --dart-output ./flutter/lib/generated_bridge.dart --c-output ./flutter/ios/Runner/bridge_generated.h
|
|
||||||
|
|
||||||
- name: Build rustdesk lib
|
- name: Build rustdesk lib
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user