Skip to content

Commit

Permalink
Use older ffigen
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Sep 9, 2024
1 parent 7f437fc commit 438b1fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ jobs:

- name: Run ffigen
run: >-
dart pub global activate ffigen &&
dart pub global activate ffigen "<14.0.0" &&
dart pub global run ffigen --config ffigen.yaml
working-directory: packages/realm_dart/

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ jobs:
with:
bodyFile: release/ExtractedChangelog.md
name: ${{ needs.prepare-packages.outputs.version }}
commit: main
commit: community
tag: ${{ needs.prepare-packages.outputs.version }}
token: ${{ secrets.REALM_CI_PAT }}
draft: false
Expand Down Expand Up @@ -236,7 +236,7 @@ jobs:
body: Update Changelog for vNext
labels: no-jira-ticket
delete-branch: true
base: main
base: community
commit-message: Add vNext Changelog header

- name: Merge Pull Request
Expand Down
3 changes: 0 additions & 3 deletions packages/realm_dart/ffigen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ headers:
- 'src/realm_dart_logger.h'
- 'src/realm_dart_decimal128.h'
- 'src/realm_dart_scheduler.h'
- 'src/realm_dart_sync.h'
include-directives: # generate only for these headers
- 'src/realm-core/src/realm.h'
- 'src/realm_dart.h'
- 'src/realm_dart_logger.h'
- 'src/realm_dart_decimal128.h'
- 'src/realm_dart_scheduler.h'
- 'src/realm_dart_sync.h'
preamble: |
// ignore_for_file: always_specify_types
// ignore_for_file: camel_case_types
Expand All @@ -27,7 +25,6 @@ comments:
compiler-opts:
- '-DRLM_NO_ANON_UNIONS'
- '-DFFI_GEN'
- '-DREALM_APP_SERVICES'
- '-I src/realm-core/src'
- '-I src/dart-dl'
sort: true
Expand Down

0 comments on commit 438b1fc

Please sign in to comment.