This commit is contained in:
2023-09-21 16:50:27 -05:00
parent 332b82cfed
commit 0310f14495

View File

@@ -53,12 +53,12 @@ jobs:
# with:
# version: ${{ env.LLVM_VERSION }}
# - name: Install flutter
# uses: subosito/flutter-action@v2
# with:
# channel: "stable"
# flutter-version: ${{ env.FLUTTER_VERSION }}
# cache: true
- name: Install flutter
uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
# - name: Replace engine with rustdesk custom flutter engine
# run: |
@@ -68,17 +68,17 @@ jobs:
# Expand-Archive windows-x64-flutter-release.zip -DestinationPath engine
# mv -Force engine/* C:/hostedtoolcache/windows/flutter/stable-${{ env.FLUTTER_VERSION }}-x64/bin/cache/artifacts/engine/windows-x64-release/
# - name: Install Rust toolchain
# uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# target: ${{ matrix.job.target }}
# override: true
# profile: minimal # minimal component installation (ie, no documentation)
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.job.target }}
override: true
profile: minimal # minimal component installation (ie, no documentation)
# - uses: Swatinem/rust-cache@v2
# with:
# prefix-key: ${{ matrix.job.os }}
- uses: Swatinem/rust-cache@v2
with:
prefix-key: ${{ matrix.job.os }}
- name: Install flutter rust bridge deps
run: |
@@ -87,10 +87,10 @@ jobs:
Push-Location flutter ; flutter pub get ; Pop-Location
~/.cargo/bin/flutter_rust_bridge_codegen --rust-input ./src/flutter_ffi.rs --dart-output ./flutter/lib/generated_bridge.dart
# - name: Install vcpkg dependencies
# run: |
# cd C:\
# git clone https://github.com/Kingtous/rustdesk_thirdpary_lib --depth=1
- name: Install vcpkg dependencies
run: |
cd C:\
git clone https://github.com/Kingtous/rustdesk_thirdpary_lib --depth=1
- name: Build rustdesk
env: