Skip to content

Commit

Permalink
Merge pull request #79 from abdelaziz-mahdy/update-deps
Browse files Browse the repository at this point in the history
update deps
  • Loading branch information
abdelaziz-mahdy authored Aug 8, 2024
2 parents 3ab7bc0 + c72a9f2 commit 7c162ff
Show file tree
Hide file tree
Showing 9 changed files with 147 additions and 177 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/build_cross_platform.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Build_on_platforms
on:
push:
branches: [ master, testing-ffi]
branches: [master, testing-ffi]
paths:
- '**'
- '!README.md'
- "**"
- "!README.md"
pull_request:
branches: [ master ]
branches: [master]
paths:
- '**'
- '!README.md'
- "**"
- "!README.md"
defaults:
run:
working-directory: example
Expand All @@ -19,10 +19,11 @@ jobs:
name: Android_windows
runs-on: windows-latest
steps:
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: '11'
- uses: actions/checkout@v2
distribution: "zulu" # See 'Supported distributions' for available options
java-version: "17"
- uses: actions/checkout@v4
with:
submodules: "true"
- uses: subosito/flutter-action@v2
Expand All @@ -33,20 +34,21 @@ jobs:
# Add separate steps for each ABI
- name: Build and analyze APK for android-arm
run: flutter build apk --analyze-size --target-platform=android-arm

- name: Build and analyze APK for android-arm64
run: flutter build apk --analyze-size --target-platform=android-arm64

- name: Build and analyze APK for android-x64
run: flutter build apk --analyze-size --target-platform=android-x64
run: flutter build apk --analyze-size --target-platform=android-x64
android_macos:
name: Android_macos
runs-on: macos-latest
steps:
- uses: actions/setup-java@v1
- uses: actions/setup-java@v4
with:
java-version: '11'
- uses: actions/checkout@v2
distribution: "zulu" # See 'Supported distributions' for available options
java-version: "17"
- uses: actions/checkout@v4
with:
submodules: "true"
- uses: subosito/flutter-action@v2
Expand All @@ -57,17 +59,17 @@ jobs:
# Add separate steps for each ABI
- name: Build and analyze APK for android-arm
run: flutter build apk --analyze-size --target-platform=android-arm

- name: Build and analyze APK for android-arm64
run: flutter build apk --analyze-size --target-platform=android-arm64

- name: Build and analyze APK for android-x64
run: flutter build apk --analyze-size --target-platform=android-x64
ios:
name: iOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: "true"
- uses: subosito/flutter-action@v2
Expand All @@ -76,5 +78,3 @@ jobs:
cache: true
- run: flutter pub get
- run: flutter build ios --no-codesign


30 changes: 15 additions & 15 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Integration_tests
on:
push:
branches: [ master, testing-ffi]
branches: [master, testing-ffi]
paths:
- '**'
- '!README.md'
- "**"
- "!README.md"
pull_request:
branches: [ master ]
branches: [master]
paths:
- '**'
- '!README.md'
- "**"
- "!README.md"
defaults:
run:
working-directory: example
Expand All @@ -24,12 +24,13 @@ jobs:
api-level: [33]
target: [google_apis]
steps:
- uses: actions/setup-java@v1
with:
java-version: '11'
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: "true"
- uses: actions/setup-java@v4
with:
distribution: "zulu" # See 'Supported distributions' for available options
java-version: "17"
- uses: subosito/flutter-action@v2
with:
channel: "stable"
Expand All @@ -43,22 +44,21 @@ jobs:
arch: x86_64
profile: Nexus 6
script: cd example && flutter pub get && flutter test integration_test



ios_test:
name: iOS_test
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: "true"
- uses: subosito/flutter-action@v2
with:
channel: "stable"
cache: true
- uses: futureware-tech/simulator-action@v2
- uses: futureware-tech/simulator-action@v3
with:
model: 'iPhone 8'
os: "iOS"
- run: flutter pub get
- name: Run integration tests
run: flutter test integration_test
11 changes: 5 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"cSpell.words": [
"calloc",
"malloc",
"Yolo"
]
}
"cSpell.words": ["calloc", "malloc", "Yolo"],
"files.associations": {
"variant": "cpp"
}
}
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

## 4.2.6
* update deps (pigeon and camera)

## 4.2.5
* added ability to load model from path and assets, instead of only assets

Expand Down
8 changes: 4 additions & 4 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/pytorch_lite/ios"

SPEC CHECKSUMS:
camera_avfoundation: 3125e8cd1a4387f6f31c6c63abb8a55892a9eeeb
camera_avfoundation: dd002b0330f4981e1bbcb46ae9b62829237459a4
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
image_picker_ios: 4a8aadfbb6dc30ad5141a2ce3832af9214a705b5
integration_test: 13825b8a9334a850581300559b8839134b124670
image_picker_ios: c560581cceedb403a6ff17f2f816d7fea1421fc1
integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
LibTorch: 8abfa5fc9d146230b31065a29b0502e1104956ea
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
pytorch_lite: 918b8dcad2cc52b17e24297a2e2b4c05fd921df2

PODFILE CHECKSUM: 7be2f5f74864d463a8ad433546ed1de7e0f29aef
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import UIKit
import Flutter

@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
Expand Down
Loading

0 comments on commit 7c162ff

Please sign in to comment.