• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dart-lang / native / 12197678865
82%

Build:
DEFAULT BRANCH: main
Ran 06 Dec 2024 11:05AM UTC
Jobs 14
Files 229
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Dec 2024 11:04AM UTC coverage: 88.922% (-0.005%) from 88.927%
12197678865

push

github

web-flow
[native_assets_cli] Rename `supportedAssetTypes` to `buildAssetTypes` (#1786)

This PR changes the `supportedAssetTypes` to `buildAssetTypes`.

Hooks should not fail early if an asset type is not supported. This enables the following situations:

1. If some part of the Dart code requires an asset, but is not invoked transitively, the Dart code can still run in JIT, instead of failing on the build hook.
2. If an asset is not available, Dart code could fallback on a Dart implementation.
3. Hot reload hook invocations can omit the asset types that are not supported for hot reload (https://github.com/dart-lang/native/issues/1207#issuecomment-2505879943).

The PR changes both the Dart API and the JSON protocol. The JSON protocol passes and parses the old key for the time being to allow for a graceful transition until this rolls into a next Dart stable release and we can bump the lower SDK bound.

Side note:

* The refactorings somehow started disallowing version skew where an older SDK is used with a newer `package:native_assets_cli`, but we do allow this, we can fill in the blanks (see `pkgs/native_assets_cli/lib/src/model/build_config_CHANGELOG.md`). So this PR adds a lowest-parsable-version.

10 of 11 new or added lines in 2 files covered. (90.91%)

11840 of 13315 relevant lines covered (88.92%)

34.89 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
6 native_toolchain_c_windows 12197678865.6 06 Dec 2024 11:08AM UTC 0
79.01
GitHub Action Run
7 native_assets_builder_macos 12197678865.7 06 Dec 2024 11:09AM UTC 0
91.03
GitHub Action Run
8 native_assets_builder_ubuntu 12197678865.8 06 Dec 2024 11:09AM UTC 0
91.03
GitHub Action Run
9 native_toolchain_c_macos 12197678865.9 06 Dec 2024 11:05AM UTC 0
69.89
GitHub Action Run
10 native_assets_builder_windows 12197678865.10 06 Dec 2024 11:12AM UTC 0
91.03
GitHub Action Run
11 native_assets_cli_macos 12197678865.11 06 Dec 2024 11:05AM UTC 0
77.26
GitHub Action Run
12 native_assets_cli_windows 12197678865.12 06 Dec 2024 11:07AM UTC 0
76.91
GitHub Action Run
13 native_toolchain_c_ubuntu 12197678865.13 06 Dec 2024 11:06AM UTC 0
74.49
GitHub Action Run
14 native_assets_cli_ubuntu 12197678865.14 06 Dec 2024 11:06AM UTC 0
77.26
GitHub Action Run
14 jni 12090369299.14 29 Nov 2024 08:40PM UTC 0
75.5
GitHub Action Run
2 ffigen 11849122173.2 15 Nov 2024 02:35AM UTC 0
91.46
GitHub Action Run
13 jnigen 12090369299.13 29 Nov 2024 08:45PM UTC 0
90.35
GitHub Action Run
14 objective_c 12150104634.14 03 Dec 2024 11:46PM UTC 0
78.31
GitHub Action Run
14 swift2objc 12149584499.14 03 Dec 2024 10:57PM UTC 0
88.09
GitHub Action Run
Source Files on build 12197678865
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12197678865
  • 0caab92e on github
  • Prev Build on main (#12157588877)
  • Next Build on main (#12198315502)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc