Skip to content

Commit

Permalink
🐛 test windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
niuhuan committed Apr 12, 2024
1 parent 4a050af commit b90c8a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ../../../..
Expand All @@ -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 ..
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>native-staticlib.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>6</integer>
<integer>4</integer>
</dict>
</dict>
</dict>
Expand Down

0 comments on commit b90c8a0

Please sign in to comment.