feat: try upgrade to flutter 3.10
This commit is contained in:
parent
8be1f5fc3d
commit
1adee6d0cb
5
.github/workflows/bridge.yml
vendored
5
.github/workflows/bridge.yml
vendored
@ -5,6 +5,9 @@ name: Build flutter-rust-bridge
|
|||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
|
||||||
|
env:
|
||||||
|
FLUTTER_VERSION: "3.10.0"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
generate_bridge:
|
generate_bridge:
|
||||||
runs-on: ${{ matrix.job.os }}
|
runs-on: ${{ matrix.job.os }}
|
||||||
@ -51,7 +54,7 @@ jobs:
|
|||||||
uses: subosito/flutter-action@v2
|
uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
channel: "stable"
|
channel: "stable"
|
||||||
flutter-version: "3.7.0"
|
flutter-version: ${{ env.FLUTTER_VERSION }}
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
- name: Install flutter rust bridge deps
|
- name: Install flutter rust bridge deps
|
||||||
|
22
.github/workflows/flutter-build.yml
vendored
22
.github/workflows/flutter-build.yml
vendored
@ -9,7 +9,10 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
LLVM_VERSION: "15.0.6"
|
LLVM_VERSION: "15.0.6"
|
||||||
FLUTTER_VERSION: "3.7.0"
|
FLUTTER_VERSION: "3.10.0"
|
||||||
|
# for arm64 linux
|
||||||
|
FLUTTER_ELINUX_VERSION: "3.7.0"
|
||||||
|
FLUTTER_ELINUX_COMMIT_ID: "51a1d685901f79fbac51665a967c3a1a789ecee5"
|
||||||
TAG_NAME: "nightly"
|
TAG_NAME: "nightly"
|
||||||
# vcpkg version: 2023.04.15
|
# vcpkg version: 2023.04.15
|
||||||
# for multiarch gcc compatibility
|
# for multiarch gcc compatibility
|
||||||
@ -52,13 +55,13 @@ jobs:
|
|||||||
flutter-version: ${{ env.FLUTTER_VERSION }}
|
flutter-version: ${{ env.FLUTTER_VERSION }}
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
- name: Replace engine with rustdesk custom flutter engine
|
# - name: Replace engine with rustdesk custom flutter engine
|
||||||
run: |
|
# run: |
|
||||||
flutter doctor -v
|
# flutter doctor -v
|
||||||
flutter precache --windows
|
# flutter precache --windows
|
||||||
Invoke-WebRequest -Uri https://github.com/Kingtous/engine/releases/download/v3.7.0-rustdesk/windows-x64-release-flutter.zip -OutFile windows-x64-flutter-release.zip
|
# Invoke-WebRequest -Uri https://github.com/Kingtous/engine/releases/download/v3.7.0-rustdesk/windows-x64-release-flutter.zip -OutFile windows-x64-flutter-release.zip
|
||||||
Expand-Archive windows-x64-flutter-release.zip -DestinationPath engine
|
# 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/
|
# mv -Force engine/* C:/hostedtoolcache/windows/flutter/stable-${{ env.FLUTTER_VERSION }}-x64/bin/cache/artifacts/engine/windows-x64-release/
|
||||||
|
|
||||||
- name: Install Rust toolchain
|
- name: Install Rust toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
@ -1169,9 +1172,8 @@ jobs:
|
|||||||
# clone repo and reset to flutter 3.7.0
|
# clone repo and reset to flutter 3.7.0
|
||||||
git clone https://github.com/sony/flutter-elinux.git || true
|
git clone https://github.com/sony/flutter-elinux.git || true
|
||||||
pushd flutter-elinux
|
pushd flutter-elinux
|
||||||
# reset to flutter 3.7.0
|
|
||||||
git fetch
|
git fetch
|
||||||
git reset --hard 51a1d685901f79fbac51665a967c3a1a789ecee5
|
git reset --hard ${{ env.FLUTTER_ELINUX_COMMIT_ID }}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
- uses: Kingtous/run-on-arch-action@amd64-support
|
- uses: Kingtous/run-on-arch-action@amd64-support
|
||||||
|
Loading…
x
Reference in New Issue
Block a user