Skip to content
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

Support windows #178

Closed
alexeagle opened this issue Sep 8, 2017 · 12 comments
Closed

Support windows #178

alexeagle opened this issue Sep 8, 2017 · 12 comments

Comments

@alexeagle
Copy link
Contributor

At least half the Angular ecosystem runs on Windows machines.

currently trying the simple python example from the README I get

ERROR: C:/users/angular/appdata/local/temp/_bazel_angular/zyn_1rhm/external/io_bazel_rules_webtesting/browsers/BUILD:67:
1: Configurable attribute "environment" doesn't match this configuration (would a default condition help?).
Conditions checked:
 @io_bazel_rules_webtesting//browsers:linux
 @io_bazel_rules_webtesting//browsers:mac.
ERROR: Analysis of target '//:browser_test_chromium-native' failed; build aborted.
@joshbruning
Copy link
Collaborator

Native Windows support is currently scheduled for Q4, but we have a Windows machine on which to perform the work, and there are no blockers. Is resolution in October sufficient, or do you need something this month?

@alexeagle
Copy link
Contributor Author

alexeagle commented Sep 9, 2017 via email

joshbruning added a commit that referenced this issue Sep 11, 2017
Define native Chrome/Windows. See #178.

This is the initial definition of a native Chrome/Windows
configuration. Note that this does not yet work due to
the @io_bazel_rules_go_toolchain// release not yet
supporting Windows 10 (and potentially other yet-to-be-
discovered issues).
@joshbruning
Copy link
Collaborator

My PR will resolve many of the issues; a fix to bazelbuild/rules_go#736 should resolve remaining known issues. (Then the ball will be back in our court.)

joshbruning added a commit that referenced this issue Sep 11, 2017
Define native Chrome/Windows. See #178.

This is the initial definition of a native Chrome/Windows
configuration. Note that this does not yet work due to
the @io_bazel_rules_go_toolchain// release not yet
supporting Windows 10 (and potentially other yet-to-be-
discovered issues).
@filipesilva
Copy link
Contributor

As far as I can tell, #293 removed all Windows related configurations introduced in #179.

Are these expected to be re-introduced?

@alexeagle
Copy link
Contributor Author

Even if users are required to define their own browser configurations, it still seems there is no such configuration that works with these rules on Windows.

@joshbruning
Copy link
Collaborator

A fix for bazelbuild/rules_go#1619 was made about a month ago. We can try to update our version of rules_go and see what the next blocker is; Marc had only removed Windows configurations as they weren't working anyway.

@joshbruning
Copy link
Collaborator

After the most recent rules_go update, core Go components seem to build fine (!), but the browser configurations are getting stuck on web/internal/extract.sh - need to make this Windows compatible, I think (so long as I'm reading the errors correctly).

@filipesilva
Copy link
Contributor

@joshbruning I think I saw that error in #284 (comment) when I was trying to define my own browsers, as well as use the provided ones.

@filipesilva
Copy link
Contributor

Heya just wanted to mention I tried the latest master and Chrome does run on Windows. Cheers!

@joshbruning
Copy link
Collaborator

(Chrome 88+ -> Chrome 68+)

We validated on "Windows Server 2016 Datacenter".

66.0.3359.181 has branch base position: 540276. 540270 is the closest I see in chromium-browser-snapshots. In web/repositories.bzl, you can put Chromium/Windows back on 540270 (and update sha).

You'll also probably want to put chromedriver/Windows back on 2.38:
https://chromedriver.storage.googleapis.com/2.38/chromedriver_win32.zip

If you send me a pull request, I'll merge it; otherwise, let me know if you just want me to do it when I have a spare cycle.

filipesilva added a commit to filipesilva/rules_webtesting that referenced this issue Sep 18, 2018
filipesilva added a commit to filipesilva/rules_webtesting that referenced this issue Sep 18, 2018
@filipesilva
Copy link
Contributor

@joshbruning thanks for the guidance, I put a PR up at #303

DrMarcII pushed a commit that referenced this issue Sep 18, 2018
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

No branches or pull requests

3 participants