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

dart-lang / native / 12888806106
76%

Build:
DEFAULT BRANCH: main
Ran 21 Jan 2025 02:14PM UTC
Jobs 13
Files 190
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

21 Jan 2025 02:13PM UTC coverage: 87.731% (-0.03%) from 87.756%
12888806106

push

github

web-flow
[native_assets_cli] Introduce `CCompilerConfig.windows` (#1913)

Closes: https://github.com/dart-lang/native/issues/1606

This PR moves `cCompilerConfig.envScript` to `cCompilerConfig.windows.developerCommandPrompt.script`.

Notable changes:

* The `DeveloperCommandPrompt` is optional, but if it's set, both the script and arguments must be set. Since clang on Windows detects the MSVC installations, the `developerCommandPrompt` itself is optional for the case where clang is passed as the compiler on Windows
* The OS-specific configurations nested under `CodeConfig` have been renamed to `<OS>CodeConfig` avoid naming conflicts with `<OS>CCompilerConfig`.
* The JSON structure has been updated with the nesting.

Up for discussion:

* Naming (`developerCommandPrompt` is rather long)
* Should we expose a `Future<Map<String, String>> loadEnvironment()` on `DeveloperCommandPrompt`? It's a bit out of place because the config is rather only a view on the JSON. However, it is most likely use case.

55 of 68 new or added lines in 5 files covered. (80.88%)

1 existing line in 1 file now uncovered.

11398 of 12992 relevant lines covered (87.73%)

38.47 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
13
58.93
7.2% pkgs/native_assets_cli/lib/src/code_assets/c_compiler_config.dart

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.1
0.08% pkgs/native_toolchain_c/lib/src/cbuilder/compiler_resolver.dart
Subprojects
ID Flag name Job ID Ran Files Coverage
5 native_assets_cli_ubuntu 12888806106.5 21 Jan 2025 02:15PM UTC 28
78.58
GitHub Action Run
6 native_assets_cli_macos 12888806106.6 21 Jan 2025 02:14PM UTC 28
78.58
GitHub Action Run
7 native_toolchain_c_macos 12888806106.7 21 Jan 2025 02:15PM UTC 26
69.67
GitHub Action Run
8 native_toolchain_c_ubuntu 12888806106.8 21 Jan 2025 02:16PM UTC 26
74.54
GitHub Action Run
9 native_assets_cli_windows 12888806106.9 21 Jan 2025 02:16PM UTC 28
78.28
GitHub Action Run
10 native_assets_builder_ubuntu 12888806106.10 21 Jan 2025 02:19PM UTC 11
89.57
GitHub Action Run
11 native_assets_builder_macos 12888806106.11 21 Jan 2025 02:19PM UTC 11
89.57
GitHub Action Run
12 native_toolchain_c_windows 12888806106.12 21 Jan 2025 02:20PM UTC 26
79.4
GitHub Action Run
13 native_assets_builder_windows 12888806106.13 21 Jan 2025 02:22PM UTC 11
89.57
GitHub Action Run
11 objective_c 12857442416.11 19 Jan 2025 09:49PM UTC 73
78.44
GitHub Action Run
1 ffigen 12819280505.1 16 Jan 2025 11:21PM UTC 72
91.46
GitHub Action Run
12 jni 12874684851.12 20 Jan 2025 07:39PM UTC 30
70.77
GitHub Action Run
13 jnigen 12874684851.13 20 Jan 2025 07:45PM UTC 22
89.51
GitHub Action Run
Source Files on build 12888806106
  • Tree
  • List 190
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12888806106
  • aa9994b7 on github
  • Prev Build on main (#12874684851)
  • Next Build on main (#12889155470)
  • 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