Skip to content

Conversation

@ADKaster
Copy link
Member

The Windows_Experimental preset isn't tested in CI, so having the
out of the box script runs using it is a bit weird.

The Windows_Experimental preset isn't tested in CI, so having the
out of the box script runs using it is a bit weird.
When running on a 4k page size arm64 Linux machine, we're able to use
the gn binary from the chromium CDN that vcpkg downloads automatically.

This case was not checked in the script, leading to us setting the gn
binary to the string 'None' if there's no gn in $PATH on such systems.

Rewrite the logic for writing to the supplemental CMake file to account
for None in both the gn binary path and the pkg-config binary path.
@ADKaster ADKaster requested review from Lubrsi and trflynn89 November 12, 2025 23:59
required=False,
default=os.environ.get(
"BUILD_PRESET", "Windows_Experimental" if platform.host_system == HostSystem.Windows else "Release"
"BUILD_PRESET", "Windows_CI" if platform.host_system == HostSystem.Windows else "Release"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The *_CI presets are meant to run in CI though; shouldn't we let this reflect the setup of the Linux/macOS presets and have a sane default expanded on by _CI and _Experimental?

Copy link
Contributor

@ayeteadoe ayeteadoe Nov 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the ENABLE_WINDOWS_CI option that is set in the *_CI presets still providing value?

4 locations using it could be replaced with ENABLE_ADDRESS_SANITIZER instead:

Then the remaining locations are:

Given these 3 locations above are not required to actually run/test the browser on Windows in its current experimental state, we could just fully disable them on Windows with FIXME's and consolidate the presets to lineup with Unix:

  • Windows_Experimental_Release (the default in ladybird.py)
  • Windows_Experimental_Debug
  • Windows_Sanitizer (this is what is used in CI now)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants