From 438b1fcd2ca080c58b145bcf1a79edea94a58519 Mon Sep 17 00:00:00 2001 From: Nikola Irinchev Date: Mon, 9 Sep 2024 13:43:52 +0200 Subject: [PATCH] Use older ffigen --- .github/workflows/ci.yml | 2 +- .github/workflows/publish-release.yml | 4 ++-- packages/realm_dart/ffigen.yaml | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7e55afd6..58ee653a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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/ diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index ead5bb1a1..9304367cb 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -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 @@ -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 diff --git a/packages/realm_dart/ffigen.yaml b/packages/realm_dart/ffigen.yaml index 19373169d..eb75bf7df 100644 --- a/packages/realm_dart/ffigen.yaml +++ b/packages/realm_dart/ffigen.yaml @@ -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 @@ -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