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

dart-lang / native / 11215711141
76%

Build:
DEFAULT BRANCH: main
Ran 07 Oct 2024 12:41PM UTC
Jobs 13
Files 183
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

07 Oct 2024 12:40PM UTC coverage: 90.47% (+0.001%) from 90.469%
11215711141

push

github

web-flow
Ensure the NativeAssetsBuildRunner.link() produces a BuildResult with all assets (#1633)

* Ensure the NativeAssetsBuildRunner.link() produces a BuildResult with all assets

Before this change a bundling tool would

  * call `buildResult = nativeAssetsBuildRunner.build(...)`
  * call `linkResult = nativeAssetsBuildRunner.link(buildResult: buildResult, ...)
  * get all assets via `allAssets = [...buildResult.assets, ...linkResult.assets]`

=> This PR makes the `link()` command produce a `LinkResult` containing
   all assets of the final application.

=> One could view this as the assets from `build()` without a linker to go to
   a default linker that just emits all of it's inputs.

=> This allows the `link()` step to also perform the application-wide
   validation steps (not just over all linker outputs but across build &
   link outputs)

Bundling tools now only have to deal with
  * `buildResult` in JIT mode (where linking is not enabled)
  * `linkResult` in AOT mode (where linking is enabled)

Instead of dealing with both `buildResult` and `linkResult` in AOT mode.

(In some sense one actually would prefer a `NativeAssetsBuilder.build` and
`NativeAssetsBuilder.buildAndLink` instead of the current API that exposes the
intermediary result from `build(linkingEnabled: true)` just to be explicitly
passed on to link later on)

2 of 2 new or added lines in 1 file covered. (100.0%)

10158 of 11228 relevant lines covered (90.47%)

34.01 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
5 native_assets_cli_windows 11215711141.5 07 Oct 2024 12:42PM UTC 35
85.16
GitHub Action Run
6 native_assets_cli_macos 11215711141.6 07 Oct 2024 12:41PM UTC 35
85.79
GitHub Action Run
7 native_assets_cli_ubuntu 11215711141.7 07 Oct 2024 12:42PM UTC 35
85.43
GitHub Action Run
8 native_toolchain_c_ubuntu 11215711141.8 07 Oct 2024 12:42PM UTC 24
74.37
GitHub Action Run
9 native_assets_builder_windows 11215711141.9 07 Oct 2024 12:47PM UTC 10
87.54
GitHub Action Run
10 native_assets_builder_macos 11215711141.10 07 Oct 2024 12:45PM UTC 10
87.54
GitHub Action Run
11 native_assets_builder_ubuntu 11215711141.11 07 Oct 2024 12:45PM UTC 10
87.54
GitHub Action Run
12 native_toolchain_c_macos 11215711141.12 07 Oct 2024 12:42PM UTC 24
69.64
GitHub Action Run
13 native_toolchain_c_windows 11215711141.13 07 Oct 2024 12:43PM UTC 24
78.37
GitHub Action Run
13 ffigen 11116803584.13 01 Oct 2024 01:26AM UTC 61
91.94
GitHub Action Run
13 objective_c 11120380860.13 01 Oct 2024 07:15AM UTC 62
70.22
GitHub Action Run
11 jnigen 11107645529.11 30 Sep 2024 02:04PM UTC 22
91.53
GitHub Action Run
12 jni 11107645529.12 30 Sep 2024 02:00PM UTC 30
81.87
GitHub Action Run
Source Files on build 11215711141
  • Tree
  • List 183
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11215711141
  • 65951188 on github
  • Prev Build on main (#11214140598)
  • Next Build on main (#11226279267)
  • 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

© 2025 Coveralls, Inc