-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package:objective_c #1061
package:objective_c #1061
Changes from 1 commit
d0df41c
c2036a1
3557789
9ea9ddb
50a2ac5
1e8d650
7c47494
5249b79
8d69c7f
62d5340
e48d38b
09a4734
c34d5f8
4dcd715
0396b3c
91aa71c
a5d0d99
6413bab
466166e
85473c7
2b67592
03a7693
0b004e6
ff7c4b8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,8 +61,12 @@ jobs: | |
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 | ||
with: | ||
sdk: 3.3.0 | ||
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 | ||
with: | ||
flutter-version: 3.19.0 | ||
channel: 'stable' | ||
- name: Install dependencies | ||
run: dart pub get | ||
run: flutter pub get | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't the majority of steps not be able to run in Dart standalone? In other words, developers working on FFIgen on Linux/Windows should be able to run things on Dart standalone right? Only the ObjectiveC tests, which only run on MacOS, require Flutter? Can we keep the Windows and Linux configs on Dart standalone? (The JNIgen yaml file only has pub for the examples, not for analyzing package:jnigen, etc.) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The Linux/Windows tests can run without flutter, but pub get fails because of the package:objective_c dev dependency. I don't know of a way of declaring that dependency only for mac/ios. https://github.com/dart-lang/native/actions/runs/8593210918/job/23544623224 |
||
- name: Install libclang-14-dev | ||
run: sudo apt-get install libclang-14-dev | ||
- name: Build test dylib and bindings | ||
|
@@ -82,8 +86,12 @@ jobs: | |
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can remove this now, since it's going to be included in the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
with: | ||
sdk: 3.3.0 | ||
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 | ||
with: | ||
flutter-version: 3.19.0 | ||
channel: 'stable' | ||
- name: Install dependencies | ||
run: dart pub get | ||
run: flutter pub get | ||
- name: Build test dylib and bindings | ||
run: dart test/setup.dart | ||
- name: Run VM tests | ||
|
@@ -115,8 +123,12 @@ jobs: | |
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
with: | ||
sdk: 3.3.0 | ||
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 | ||
with: | ||
flutter-version: 3.19.0 | ||
channel: 'stable' | ||
- name: Install dependencies | ||
run: dart pub get | ||
run: flutter pub get | ||
- name: Build test dylib and bindings | ||
run: dart test/setup.dart | ||
- name: Run VM tests | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done