Skip to content

Windows dart ci #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 28, 2023
Merged

Windows dart ci #23

merged 4 commits into from
Apr 28, 2023

Conversation

dcharkes
Copy link
Collaborator

@dcharkes dcharkes commented Apr 28, 2023

When using MSVCs cl.exe an accompanying script sets the right environment variables, such as INCLUDE.
In visual studio this is vcvarsall.bat, vcvars64.bat or a similar script, which can be discovered in a relative path from cl.exe.

However, on the Dart CI bots, we use a custom script which serves the same purpose.
See https://chromium.googlesource.com/chromium/tools/depot_tools/+/master/win_toolchain/.

We might as well make the script configurable in general, as maybe more compilers require setting the right environment variables. (Side note: on the Dart CI we also use a clang.exe with this same environment variables script so that the clang.exe can also find the Windows implementations for printf etc.)

Dart CL: https://dart-review.googlesource.com/c/sdk/+/298580

@coveralls
Copy link

coveralls commented Apr 28, 2023

Coverage Status

coverage: 99.841% (-0.08%) from 99.919%
when pulling e079515 on windows-dart-ci
into 49be7f1 on main.

@dcharkes dcharkes marked this pull request as ready for review April 28, 2023 11:10
@dcharkes dcharkes requested a review from HosseinYousefi April 28, 2023 11:11
@dcharkes dcharkes requested a review from HosseinYousefi April 28, 2023 11:30
Copy link
Member

@HosseinYousefi HosseinYousefi left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @dcharkes 🚀

@dcharkes dcharkes merged commit 5d5db9e into main Apr 28, 2023
@dcharkes dcharkes deleted the windows-dart-ci branch April 28, 2023 11:38
HosseinYousefi pushed a commit that referenced this pull request Nov 16, 2023
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