Skip to content

Commit ed4628b

Browse files
committed
Squashed commit of the following:
commit 95d226d Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu May 2 08:38:22 2024 +0000 Bump actions/checkout from 4.1.2 to 4.1.4 (#1113) Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/releases">actions/checkout's releases</a>.</em></p> <blockquote> <h2>v4.1.4</h2> <h2>What's Changed</h2> <ul> <li>Disable <code>extensions.worktreeConfig</code> when disabling <code>sparse-checkout</code> by <a href="https://github.com/jww3"><code>@â��jww3</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1692">actions/checkout#1692</a></li> <li>Add dependabot config by <a href="https://github.com/cory-miller"><code>@â��cory-miller</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1688">actions/checkout#1688</a></li> <li>Bump word-wrap from 1.2.3 to 1.2.5 by <a href="https://github.com/dependabot"><code>@â��dependabot</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1643">actions/checkout#1643</a></li> <li>Bump the minor-actions-dependencies group with 2 updates by <a href="https://github.com/dependabot"><code>@â��dependabot</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1693">actions/checkout#1693</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/checkout/compare/v4.1.3...v4.1.4">https://github.com/actions/checkout/compare/v4.1.3...v4.1.4</a></p> <h2>v4.1.3</h2> <h2>What's Changed</h2> <ul> <li>Update <code>actions/checkout</code> version in <code>update-main-version.yml</code> by <a href="https://github.com/jww3"><code>@â��jww3</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1650">actions/checkout#1650</a></li> <li>Check git version before attempting to disable <code>sparse-checkout</code> by <a href="https://github.com/jww3"><code>@â��jww3</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1656">actions/checkout#1656</a></li> <li>Add SSH user parameter by <a href="https://github.com/cory-miller"><code>@â��cory-miller</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1685">actions/checkout#1685</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/checkout/compare/v4.1.2...v4.1.3">https://github.com/actions/checkout/compare/v4.1.2...v4.1.3</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/blob/main/CHANGELOG.md">actions/checkout's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2>v4.1.4</h2> <ul> <li>Disable <code>extensions.worktreeConfig</code> when disabling <code>sparse-checkout</code> by <a href="https://github.com/jww3"><code>@â��jww3</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1692">actions/checkout#1692</a></li> <li>Add dependabot config by <a href="https://github.com/cory-miller"><code>@â��cory-miller</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1688">actions/checkout#1688</a></li> <li>Bump the minor-actions-dependencies group with 2 updates by <a href="https://github.com/dependabot"><code>@â��dependabot</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1693">actions/checkout#1693</a></li> <li>Bump word-wrap from 1.2.3 to 1.2.5 by <a href="https://github.com/dependabot"><code>@â��dependabot</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1643">actions/checkout#1643</a></li> </ul> <h2>v4.1.3</h2> <ul> <li>Check git version before attempting to disable <code>sparse-checkout</code> by <a href="https://github.com/jww3"><code>@â��jww3</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1656">actions/checkout#1656</a></li> <li>Add SSH user parameter by <a href="https://github.com/cory-miller"><code>@â��cory-miller</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1685">actions/checkout#1685</a></li> <li>Update <code>actions/checkout</code> version in <code>update-main-version.yml</code> by <a href="https://github.com/jww3"><code>@â��jww3</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1650">actions/checkout#1650</a></li> </ul> <h2>v4.1.2</h2> <ul> <li>Fix: Disable sparse checkout whenever <code>sparse-checkout</code> option is not present <a href="https://github.com/dscho"><code>@â��dscho</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1598">actions/checkout#1598</a></li> </ul> <h2>v4.1.1</h2> <ul> <li>Correct link to GitHub Docs by <a href="https://github.com/peterbe"><code>@â��peterbe</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1511">actions/checkout#1511</a></li> <li>Link to release page from what's new section by <a href="https://github.com/cory-miller"><code>@â��cory-miller</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1514">actions/checkout#1514</a></li> </ul> <h2>v4.1.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1396">Add support for partial checkout filters</a></li> </ul> <h2>v4.0.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1067">Support fetching without the --progress option</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1436">Update to node20</a></li> </ul> <h2>v3.6.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1377">Fix: Mark test scripts with Bash'isms to be run via Bash</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/579">Add option to fetch tags even if fetch-depth &gt; 0</a></li> </ul> <h2>v3.5.3</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1196">Fix: Checkout fail in self-hosted runners when faulty submodule are checked-in</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1287">Fix typos found by codespell</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1369">Add support for sparse checkouts</a></li> </ul> <h2>v3.5.2</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1289">Fix api endpoint for GHES</a></li> </ul> <h2>v3.5.1</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1246">Fix slow checkout on Windows</a></li> </ul> <h2>v3.5.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1237">Add new public key for known_hosts</a></li> </ul> <h2>v3.4.0</h2> <ul> <li><a href="https://redirect.github.com/actions/checkout/pull/1209">Upgrade codeql actions to v2</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1210">Upgrade dependencies</a></li> <li><a href="https://redirect.github.com/actions/checkout/pull/1225">Upgrade <code>@â��actions/io</code></a></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/checkout/commit/0ad4b8fadaa221de15dcec353f45205ec38ea70b"><code>0ad4b8f</code></a> Prep Release v4.1.4 (<a href="https://redirect.github.com/actions/checkout/issues/1704">#1704</a>)</li> <li><a href="https://github.com/actions/checkout/commit/43045ae669be728bd34ed56fcd1a230c0dc4d8e2"><code>43045ae</code></a> Disable <code>extensions.worktreeConfig</code> when disabling <code>sparse-checkout</code> (<a href="https://redirect.github.com/actions/checkout/issues/1692">#1692</a>)</li> <li><a href="https://github.com/actions/checkout/commit/37b082107ba410260a3aaddf93122e04801ce631"><code>37b0821</code></a> Bump the minor-actions-dependencies group with 2 updates (<a href="https://redirect.github.com/actions/checkout/issues/1693">#1693</a>)</li> <li><a href="https://github.com/actions/checkout/commit/9839dc14a02ddc6b6995e69eb3ecb98132fc8b6b"><code>9839dc1</code></a> Add dependabot config (<a href="https://redirect.github.com/actions/checkout/issues/1688">#1688</a>)</li> <li><a href="https://github.com/actions/checkout/commit/9b4c13b0bfa31b4514c14f74b5a166c2708f43c6"><code>9b4c13b</code></a> Bump word-wrap from 1.2.3 to 1.2.5 (<a href="https://redirect.github.com/actions/checkout/issues/1643">#1643</a>)</li> <li><a href="https://github.com/actions/checkout/commit/1d96c772d19495a3b5c517cd2bc0cb401ea0529f"><code>1d96c77</code></a> Add SSH user parameter (<a href="https://redirect.github.com/actions/checkout/issues/1685">#1685</a>)</li> <li><a href="https://github.com/actions/checkout/commit/cd7d8d697e10461458bc61a30d094dc601a8b017"><code>cd7d8d6</code></a> Check git version before attempting to disable <code>sparse-checkout</code> (<a href="https://redirect.github.com/actions/checkout/issues/1656">#1656</a>)</li> <li><a href="https://github.com/actions/checkout/commit/8410ad0602e1e429cee44a835ae9f77f654a6694"><code>8410ad0</code></a> Update <code>actions/checkout</code> version in <code>update-main-version.yml</code> (<a href="https://redirect.github.com/actions/checkout/issues/1650">#1650</a>)</li> <li>See full diff in <a href="https://github.com/actions/checkout/compare/9bb56186c3b09b4f86b1c65136769dd318469633...0ad4b8fadaa221de15dcec353f45205ec38ea70b">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=4.1.2&new-version=4.1.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> commit 326f9b4 Author: Hossein Yousefi <[email protected]> Date: Thu May 2 10:26:20 2024 +0200 [jnigen] [jni] 0.9.0 (#1110) * Refactor JArray<jbool> * Merge internal.c to dartjni.c commit 3519c6f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu May 2 08:18:16 2024 +0000 Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (#1112) Bumps [dart-lang/setup-dart](https://github.com/dart-lang/setup-dart) from 1.6.2 to 1.6.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dart-lang/setup-dart/releases">dart-lang/setup-dart's releases</a>.</em></p> <blockquote> <h2>v1.6.4</h2> <ul> <li>Rebuild JS code to include changes from v1.6.3</li> </ul> <h2>v1.6.3</h2> <ul> <li>Roll <code>undici</code> dependency to address <a href="https://github.com/nodejs/undici/security/advisories/GHSA-m4v8-wqvr-p9f7">CVE-2024-30260</a> and <a href="https://github.com/nodejs/undici/security/advisories/GHSA-9qxr-qj54-h672">CVE-2024-30261</a>.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/dart-lang/setup-dart/blob/main/CHANGELOG.md">dart-lang/setup-dart's changelog</a>.</em></p> <blockquote> <h2>v1.6.4</h2> <ul> <li>Rebuild JS code.</li> </ul> <h2>v1.6.3</h2> <ul> <li>Roll <code>undici</code> dependency to address <a href="https://github.com/nodejs/undici/security/advisories/GHSA-m4v8-wqvr-p9f7">CVE-2024-30260</a> and <a href="https://github.com/nodejs/undici/security/advisories/GHSA-9qxr-qj54-h672">CVE-2024-30261</a>.</li> </ul> <h2>v1.6.2</h2> <ul> <li>Switch to running the workflow on <code>node20`` from </code>node16`. See also <a href="https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/">Transitioning from Node 16 to Node 20</a>.</li> </ul> <h2>v1.6.1</h2> <ul> <li>Updated the google storage url for <code>main</code> channel releases.</li> </ul> <h2>v1.6.0</h2> <ul> <li>Enable provisioning of the latest Dart SDK patch release by specifying just the major and minor version (e.g. <code>3.2</code>).</li> </ul> <h2>v1.5.1</h2> <ul> <li>No longer test the <code>setup-dart</code> action on pre-2.12 SDKs.</li> <li>Upgrade JS interop code to use extension types (the new name for inline classes).</li> <li>The upcoming rename of the <code>be</code> channel to <code>main</code> is now supported with forward compatibility that switches when the rename happens.</li> </ul> <h2>v1.5.0</h2> <ul> <li>Re-wrote the implementation of the action into Dart.</li> <li>Auto-detect the platform architecture (<code>x64</code>, <code>ia32</code>, <code>arm</code>, <code>arm64</code>).</li> <li>Improved the caching and download resilience of the sdk.</li> <li>Added a new action output: <code>dart-version</code> - the installed version of the sdk.</li> </ul> <h2>v1.4.0</h2> <ul> <li>Automatically create OIDC token for pub.dev.</li> <li>Add a reusable workflow for publishing.</li> </ul> <h2>v1.3.0</h2> <ul> <li>The install location of the Dart SDK is now available</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/dart-lang/setup-dart/commit/f0ead981b4d9a35b37f30d36160575d60931ec30"><code>f0ead98</code></a> Rebuild JS code (<a href="https://redirect.github.com/dart-lang/setup-dart/issues/129">#129</a>)</li> <li><a href="https://github.com/dart-lang/setup-dart/commit/65c82982aa686933bf10d50aced7a27b2b63f2a6"><code>65c8298</code></a> Update CHANGELOG.md (<a href="https://redirect.github.com/dart-lang/setup-dart/issues/128">#128</a>)</li> <li><a href="https://github.com/dart-lang/setup-dart/commit/57338d64c065775c2cf86eaf665316ea44e0249d"><code>57338d6</code></a> Bump undici from 5.28.3 to 5.28.4 (<a href="https://redirect.github.com/dart-lang/setup-dart/issues/127">#127</a>)</li> <li><a href="https://github.com/dart-lang/setup-dart/commit/05d3f5ec28dca4e3ae8991f2be7828a62942f8a8"><code>05d3f5e</code></a> Bump <code>@â��actions/http-client</code> from 2.2.0 to 2.2.1 (<a href="https://redirect.github.com/dart-lang/setup-dart/issues/126">#126</a>)</li> <li><a href="https://github.com/dart-lang/setup-dart/commit/b8c0b77d1f6fb52c5ddff2fc3da6cfa3f9585860"><code>b8c0b77</code></a> no longer specify the inline-class experiment flag (<a href="https://redirect.github.com/dart-lang/setup-dart/issues/125">#125</a>)</li> <li><a href="https://github.com/dart-lang/setup-dart/commit/b9952d818df9b43bab696de0e1b7bbf09464a829"><code>b9952d8</code></a> Bump undici from 5.27.0 to 5.28.3 (<a href="https://redirect.github.com/dart-lang/setup-dart/issues/124">#124</a>)</li> <li><a href="https://github.com/dart-lang/setup-dart/commit/9a6ee8904aa6a1fa76b02bb3e7b0ec30cddcaaac"><code>9a6ee89</code></a> Bump dart-lang/setup-dart from 1.6.0 to 1.6.2 (<a href="https://redirect.github.com/dart-lang/setup-dart/issues/123">#123</a>)</li> <li>See full diff in <a href="https://github.com/dart-lang/setup-dart/compare/fedb1266e91cf51be2fdb382869461a434b920a3...f0ead981b4d9a35b37f30d36160575d60931ec30">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dart-lang/setup-dart&package-manager=github_actions&previous-version=1.6.2&new-version=1.6.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> commit bf9dce2 Author: Daco Harkes <[email protected]> Date: Thu May 2 10:00:26 2024 +0200 [infra] Fix CI (#1114) commit 2eef97f Author: Daco Harkes <[email protected]> Date: Thu May 2 08:25:27 2024 +0200 [infra] Swap weekly bot to x64 (#1116) commit 6a9282c Author: Liam Appelbe <[email protected]> Date: Sun Apr 28 17:53:34 2024 -0700 Delete the Dart functions associated with closure blocks (#1100) * ObjC example, and infra for shipping native code with plugin * Fix the block leak * Mostly working * Fix analysis * Fix analysis * Fix example linker error * fmt * Daco's comments * Fix NSData commit 042af36 Author: Brian Quinlan <[email protected]> Date: Thu Apr 25 16:31:03 2024 -0700 Add helper methods for NSData (#1104) commit 3bc1eb8 Author: Hossein Yousefi <[email protected]> Date: Thu Apr 25 12:15:56 2024 +0200 [jnigen] Fix summarizer and improve errors (#1103) Close #877 commit 880ca30 Author: Hossein Yousefi <[email protected]> Date: Wed Apr 24 12:04:36 2024 +0200 [jnigen] Add `getRange` method to `JArray<JPrimitive>` and change the dart equivalent type for `JArray<jchar>` to `int` (#1095) * Close #990 * Convert the return type of `operator []` of `JArray<jchar>` to `int`, to be more consistent with the `getRange` return type. Similarly `operator []=` gets an `int` now * Remove some unused functions in `dartjni.c` * Use `.asTypedList(len).setRange` in `setRange` to be more efficient * Close #1097 – Improve the performance of`JArray`'s `operator []=` commit d7d9229 Author: Hossein Yousefi <[email protected]> Date: Tue Apr 23 17:50:31 2024 +0200 [ffi] Fix `MallocAllocator` doc (#1096) commit 2393cca Author: Hossein Yousefi <[email protected]> Date: Thu Apr 18 11:33:06 2024 +0200 [jnigen] Remove C-based bindings (#1091) commit 0f41ebb Author: Liam Appelbe <[email protected]> Date: Wed Apr 17 16:26:46 2024 -0700 [ffigen] Move core ObjC classes to package:objective_c (#1088) * Move core ObjC classes to package:objective_c * Fix formatting and analysis * Fix analysis * Fix analysis * Fix analysis and add tests * Fix pub get failure * More tests and coverage * Fix path * Fix permissions * Fix coverage * Debugging coverage * Fix analysis * Still debugging coverage * Fix analysis * Debug coverage * Remove coverage debugging * Daco's comments commit e88a6a8 Author: Hossein Yousefi <[email protected]> Date: Wed Apr 17 11:53:36 2024 +0200 Use varargs for dartonly method calls (#1090) commit ffc493d Author: Liam Appelbe <[email protected]> Date: Fri Apr 12 10:09:55 2024 +1200 package:objective_c (#1061) * Initial commit of package:objective_c * Fix some of the PR health warnings * Remove the objective_c dep from ffigen. Need to separate those tests * Disable analysis and move tests * Fix tests * Workflows * Fix analysis * Fix analysis * Fix analysis * Fix analysis * Fix analysis * Fix analysis * Fix tests * Fix tests and address comments * Improve ffigen's CHANGELOG entry * Gather objective_c coverage during ffigen tests * Daco's comments * Move objc_msgSend into package:objective_c * Changelog * Fix analysis * Update changelog
1 parent 9b4855f commit ed4628b

File tree

323 files changed

+100142
-168406
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

323 files changed

+100142
-168406
lines changed

.github/ISSUE_TEMPLATE/objective_c.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
name: "package:objective_c"
3+
about: "Create a bug or file a feature request against package:objective_c."
4+
labels: "package:objective_c"
5+
---
6+

.github/labeler.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@
2727
'package:native_toolchain_c':
2828
- changed-files:
2929
- any-glob-to-any-file: 'pkgs/native_toolchain_c/**'
30+
31+
'package:objective_c':
32+
- changed-files:
33+
- any-glob-to-any-file: 'pkgs/objective_c/**'

.github/workflows/ffi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
matrix:
3232
sdk: [dev]
3333
steps:
34-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
35-
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
34+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
35+
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
3636
with:
3737
sdk: ${{ matrix.sdk }}
3838
- id: install
@@ -61,8 +61,8 @@ jobs:
6161
os: [ubuntu-latest]
6262
sdk: [beta, dev]
6363
steps:
64-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
65-
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
64+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
65+
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
6666
with:
6767
sdk: ${{ matrix.sdk }}
6868
- id: install

.github/workflows/ffigen.yml

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
name: ffigen
22

33
on:
4-
# Run on PRs and pushes to the default branch.
4+
# Run on PRs and pushes to the default branch, in either the ffigen directory,
5+
# or the objective_c directory.
56
push:
67
branches: [main, stable]
78
paths:
89
- '.github/workflows/ffigen.yml'
910
- 'pkgs/ffigen/**'
11+
- 'pkgs/objective_c/**'
1012
pull_request:
1113
branches: [main, stable]
1214
paths:
1315
- '.github/workflows/ffigen.yml'
1416
- 'pkgs/ffigen/**'
17+
- 'pkgs/objective_c/**'
1518
schedule:
1619
- cron: "0 0 * * 0"
1720

@@ -27,25 +30,22 @@ jobs:
2730
working-directory: pkgs/ffigen/
2831
strategy:
2932
fail-fast: false
30-
matrix:
31-
sdk: [dev]
32-
# sdk: [3.3.0]
3333
steps:
34-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
35-
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
34+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
35+
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
3636
with:
37-
sdk: ${{ matrix.sdk }}
37+
flutter-version: 3.19.0
38+
channel: 'stable'
3839
- id: install
3940
name: Install dependencies
40-
run: dart pub get && dart pub get --directory="example/shared_bindings"
41+
run: flutter pub get && flutter pub get --directory="example/shared_bindings"
4142
- name: Check formatting
4243
run: dart format --output=none --set-exit-if-changed .
4344
if: always() && steps.install.outcome == 'success'
4445
- name: Build test dylib and bindings
4546
run: dart test/setup.dart
4647
- name: Analyze code
47-
run: dart analyze --fatal-infos
48-
if: always() && steps.install.outcome == 'success'
48+
run: flutter analyze --fatal-infos
4949

5050
test-linux:
5151
needs: analyze
@@ -54,12 +54,13 @@ jobs:
5454
run:
5555
working-directory: pkgs/ffigen/
5656
steps:
57-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
58-
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
57+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
58+
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
5959
with:
60-
sdk: dev #3.3.0
60+
flutter-version: 3.19.0
61+
channel: 'stable'
6162
- name: Install dependencies
62-
run: dart pub get
63+
run: flutter pub get
6364
- name: Install libclang-14-dev
6465
run: sudo apt-get install libclang-14-dev
6566
- name: Build test dylib and bindings
@@ -75,12 +76,13 @@ jobs:
7576
run:
7677
working-directory: pkgs/ffigen/
7778
steps:
78-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
79-
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
79+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
80+
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
8081
with:
81-
sdk: dev #3.3.0
82+
flutter-version: 3.19.0
83+
channel: 'stable'
8284
- name: Install dependencies
83-
run: dart pub get
85+
run: flutter pub get
8486
- name: Build test dylib and bindings
8587
run: dart test/setup.dart
8688
- name: Run VM tests
@@ -97,7 +99,7 @@ jobs:
9799
- name: Upload coverage
98100
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949
99101
with:
100-
carryforward: "jnigen_tests,jni_tests,native_assets_builder_macos,native_assets_builder_ubuntu,native_assets_builder_windows,native_assets_cli_macos,native_assets_cli_ubuntu,native_assets_cli_windows,native_toolchain_c_macos,native_toolchain_c_ubuntu,native_toolchain_c_windows"
102+
carryforward: "objective_c_tests,ffigen_macos,jnigen_tests,jni_tests,native_assets_builder_macos,native_assets_builder_ubuntu,native_assets_builder_windows,native_assets_cli_macos,native_assets_cli_ubuntu,native_assets_cli_windows,native_toolchain_c_macos,native_toolchain_c_ubuntu,native_toolchain_c_windows"
101103
github-token: ${{ secrets.GITHUB_TOKEN }}
102104
parallel-finished: true
103105

@@ -108,12 +110,13 @@ jobs:
108110
run:
109111
working-directory: pkgs/ffigen/
110112
steps:
111-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
112-
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
113+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
114+
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
113115
with:
114-
sdk: dev #3.3.0
116+
flutter-version: 3.19.0
117+
channel: 'stable'
115118
- name: Install dependencies
116-
run: dart pub get
119+
run: flutter pub get
117120
- name: Build test dylib and bindings
118121
run: dart test/setup.dart
119122
- name: Run VM tests
@@ -136,7 +139,7 @@ jobs:
136139
run:
137140
working-directory: pkgs/ffigen/
138141
steps:
139-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
142+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
140143
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
141144
with:
142145
channel: "master"

.github/workflows/ffigen_weekly.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,18 @@ env:
1414
jobs:
1515
# Keep in sync with ffigen.yaml:test-mac
1616
test-mac-arm64:
17-
runs-on: 'macos-latest-xlarge' # Arm64.
17+
runs-on: 'macos-14-large' # x64
1818
defaults:
1919
run:
2020
working-directory: pkgs/ffigen/
2121
steps:
22-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
23-
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
22+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
23+
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
2424
with:
25-
sdk: dev #3.3.0
25+
flutter-version: 3.19.0
26+
channel: 'stable'
2627
- name: Install dependencies
27-
run: dart pub get
28+
run: flutter pub get
2829
- name: Build test dylib and bindings
2930
run: dart test/setup.dart
3031
- name: Run VM tests

.github/workflows/health.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
# Remove paths after https://github.com/bmw-tech/dart_apitool/issues/177 is addressed.
66
paths:
77
- "pkgs/ffi/**"
8-
- "pkgs/ffigen/**"
98
- "pkgs/native_assets_builder/**"
109
- "pkgs/native_assets_cli/**"
1110
- "pkgs/native_toolchain_c/**"

.github/workflows/health_jnigen.yaml renamed to .github/workflows/health_flutter.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ on:
44
branches: [ main ]
55
# Merge back into health.yaml after https://github.com/bmw-tech/dart_apitool/issues/177 is addressed.
66
paths:
7+
- "pkgs/ffigen/**"
78
- "pkgs/jni/**"
89
- "pkgs/jnigen/**"
10+
- "pkgs/objective_c/**"
911
types: [opened, synchronize, reopened, labeled, unlabeled]
1012
jobs:
1113
health:

.github/workflows/jnigen.yaml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
matrix:
4141
sdk: [stable]
4242
steps:
43-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
43+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
4444
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
4545
with:
4646
channel: ${{ matrix.sdk }}
@@ -75,7 +75,7 @@ jobs:
7575
os: [ubuntu-latest]
7676
sdk: [stable, beta]
7777
steps:
78-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
78+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
7979
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
8080
with:
8181
channel: ${{ matrix.sdk }}
@@ -105,8 +105,6 @@ jobs:
105105
working-directory: ./pkgs/jnigen/java
106106
- name: Build summarizer
107107
run: dart run jnigen:setup
108-
- name: Generate runtime tests
109-
run: dart run tool/generate_runtime_tests.dart
110108
- name: Run VM tests
111109
run: dart test --test-randomize-ordering-seed random
112110
- name: Install coverage
@@ -128,7 +126,7 @@ jobs:
128126
run:
129127
working-directory: ./pkgs/jni
130128
steps:
131-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
129+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
132130
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
133131
with:
134132
channel: 'stable'
@@ -166,7 +164,7 @@ jobs:
166164
run:
167165
working-directory: ./pkgs/jni
168166
steps:
169-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
167+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
170168
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
171169
with:
172170
channel: 'stable'
@@ -215,7 +213,7 @@ jobs:
215213
run:
216214
working-directory: ./pkgs/jni
217215
steps:
218-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
216+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
219217
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
220218
with:
221219
channel: 'stable'
@@ -237,7 +235,7 @@ jobs:
237235
run:
238236
working-directory: ./pkgs/jnigen
239237
steps:
240-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
238+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
241239
- name: Setup clang
242240
uses: egor-tensin/setup-clang@ef434b41eb33a70396fb336b1bae39c76d740c3d
243241
with:
@@ -258,8 +256,6 @@ jobs:
258256
- run: dart run jnigen:setup
259257
- name: Build summarizer
260258
run: dart run jnigen:setup
261-
- name: Generate runtime tests
262-
run: dart run tool/generate_runtime_tests.dart
263259
- name: Run tests
264260
run: dart test --test-randomize-ordering-seed random
265261

@@ -270,7 +266,7 @@ jobs:
270266
run:
271267
working-directory: ./pkgs/jni
272268
steps:
273-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
269+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
274270
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
275271
with:
276272
channel: 'stable'
@@ -291,7 +287,7 @@ jobs:
291287
run:
292288
working-directory: ./pkgs/jnigen
293289
steps:
294-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
290+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
295291
- name: Setup clang format
296292
uses: ConorMacBride/install-package@3e7ad059e07782ee54fa35f827df52aae0626f30
297293
with:
@@ -309,8 +305,6 @@ jobs:
309305
- run: dart pub get
310306
- name: Build summarizer
311307
run: dart run jnigen:setup
312-
- name: Generate runtime tests
313-
run: dart run tool/generate_runtime_tests.dart
314308
- name: Run tests
315309
run: dart test --test-randomize-ordering-seed random
316310

@@ -320,7 +314,7 @@ jobs:
320314
run:
321315
working-directory: ./pkgs/jni/example
322316
steps:
323-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
317+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
324318
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
325319
with:
326320
channel: 'stable'
@@ -344,7 +338,7 @@ jobs:
344338
run:
345339
working-directory: ./pkgs/jni/example
346340
steps:
347-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
341+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
348342
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
349343
with:
350344
channel: 'stable'
@@ -364,7 +358,7 @@ jobs:
364358
run:
365359
working-directory: ./pkgs/jni/example
366360
steps:
367-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
361+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
368362
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9
369363
with:
370364
distribution: 'zulu'
@@ -383,7 +377,7 @@ jobs:
383377
run:
384378
working-directory: ./pkgs/jnigen/example/pdfbox_plugin
385379
steps:
386-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
380+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
387381
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
388382
with:
389383
channel: 'stable'
@@ -424,6 +418,6 @@ jobs:
424418
- name: Coveralls finished
425419
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949
426420
with:
427-
carryforward: "ffigen_macos,native_assets_builder_macos,native_assets_builder_ubuntu,native_assets_builder_windows,native_assets_cli_macos,native_assets_cli_ubuntu,native_assets_cli_windows,native_toolchain_c_macos,native_toolchain_c_ubuntu,native_toolchain_c_windows"
421+
carryforward: "objective_c_tests,ffigen_macos,jnigen_tests,jni_tests,native_assets_builder_macos,native_assets_builder_ubuntu,native_assets_builder_windows,native_assets_cli_macos,native_assets_cli_ubuntu,native_assets_cli_windows,native_toolchain_c_macos,native_toolchain_c_ubuntu,native_toolchain_c_windows"
428422
github-token: ${{ secrets.github_token }}
429423
parallel-finished: true

.github/workflows/native.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,16 @@ jobs:
4949
working-directory: pkgs/${{ matrix.package }}
5050

5151
steps:
52-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
52+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
5353

54-
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
54+
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
5555
with:
5656
sdk: ${{ matrix.sdk }}
5757

5858
- uses: nttld/setup-ndk@6a7e9c5494a25c4842ca1011f710300132eacd94
5959
with:
6060
ndk-version: r26b
61-
if: ${{ matrix.sdk == 'stable' }}
61+
if: ${{ matrix.sdk == 'stable' && matrix.os != 'macos' }}
6262

6363
- run: dart pub get
6464

@@ -172,6 +172,6 @@ jobs:
172172
- name: Upload coverage
173173
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949
174174
with:
175-
carryforward: "ffigen_macos,jnigen_tests,jni_tests"
175+
carryforward: "objective_c_tests,ffigen_macos,jnigen_tests,jni_tests,native_assets_builder_macos,native_assets_builder_ubuntu,native_assets_builder_windows,native_assets_cli_macos,native_assets_cli_ubuntu,native_assets_cli_windows,native_toolchain_c_macos,native_toolchain_c_ubuntu,native_toolchain_c_windows"
176176
github-token: ${{ secrets.GITHUB_TOKEN }}
177177
parallel-finished: true

.github/workflows/native_toolchain_c.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
working-directory: pkgs/${{ matrix.package }}
3333

3434
steps:
35-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
35+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
3636

37-
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
37+
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
3838
with:
3939
sdk: ${{ matrix.sdk }}
4040

0 commit comments

Comments
 (0)