From b90c8a0d880c825250fe5ba3d2068398ca6e356a Mon Sep 17 00:00:00 2001 From: niuhuan Date: Fri, 12 Apr 2024 13:19:23 +0800 Subject: [PATCH] :bug: test windows build --- .github/workflows/Release.yml | 7 +------ .../niuhuan.xcuserdatad/xcschemes/xcschememanagement.plist | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index ba9de3e..77e9041 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -340,9 +340,7 @@ jobs: flutter_rust_bridge_codegen --rust-crate-dir native --rust-input native/src/api.rs --dart-output lib/bridge_generated.dart --class-name Native flutter config --enable-windows-desktop flutter build windows - pwd - dir - cd build/windows/runner/Release + cd build/windows/x64/runner/Release Compress-Archive * ../../../../build/windows.zip cd ../../../.. @@ -367,9 +365,6 @@ jobs: mkdir appimage mv macos/Build/Products/Release/kobi.app appimage/ ln -sf /Applications appimage/ - cargo build --manifest-path native/Cargo.toml --release --target x86_64-apple-darwin - cargo build --manifest-path native/Cargo.toml --release --target aarch64-apple-darwin - lipo -create -output appimage/kobi.app/Contents/Frameworks/libnative.dylib ../native/target/x86_64-apple-darwin/release/libnative.dylib ../native/target/aarch64-apple-darwin/release/libnative.dylib hdiutil create -volname kobi -srcfolder appimage -ov -format UDBZ macos.dmg cd .. diff --git a/native/native.xcodeproj/xcuserdata/niuhuan.xcuserdatad/xcschemes/xcschememanagement.plist b/native/native.xcodeproj/xcuserdata/niuhuan.xcuserdatad/xcschemes/xcschememanagement.plist index 2068220..1ec0e74 100644 --- a/native/native.xcodeproj/xcuserdata/niuhuan.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/native/native.xcodeproj/xcuserdata/niuhuan.xcuserdatad/xcschemes/xcschememanagement.plist @@ -12,7 +12,7 @@ native-staticlib.xcscheme_^#shared#^_ orderHint - 6 + 4