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

Windows bootstrap support #29954

Merged
merged 1 commit into from Jul 3, 2023
Merged

Conversation

mrobinson
Copy link
Member


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix Fix mach bootstrap on Windows #25224
  • These changes do not require tests because they are just support script changes.

@mrobinson mrobinson force-pushed the windows-bootstrap branch 2 times, most recently from d267bd1 to 6c6fdd2 Compare July 1, 2023 13:08
@mrobinson mrobinson requested a review from mukilan July 3, 2023 14:03
Copy link
Member

@mukilan mukilan left a comment

Choose a reason for hiding this comment

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

Nice!

README.md Outdated
*This will install CMake, Git, LLVM, Ninja, NuGet, Python and the Visual Studio 2019 Build Tools.*
- Run `mach bootstrap-gstreamer`
- Run `mach bootstrap`
- *This will install CMake, Git, LLVM, Ninja, NuGet, Python and the Visual Studio 2019 Build Tools
Copy link
Member

Choose a reason for hiding this comment

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

Will LLVM be installed via choco as this comment suggests? I see we have removed it in choco.config

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, nice catch. I've fixed this now.

@mrobinson
Copy link
Member Author

@bors-servo r=mukilan

@bors-servo
Copy link
Contributor

📌 Commit 633d9b0 has been approved by mukilan

@bors-servo
Copy link
Contributor

⌛ Testing commit 633d9b0 with merge 8a61dc2...

bors-servo added a commit that referenced this pull request Jul 3, 2023
Windows bootstrap support

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #25224
- [x] These changes do not require tests because they are just support script changes.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@github-actions
Copy link

github-actions bot commented Jul 3, 2023

Test results for linux-wpt-layout-2020 from try job (#5448040173):

Stable unexpected results that are known to be intermittent (2)
  • OK /_mozilla/mozilla/task_queue_throttling.any.html (#22519)
    • PASS [expected FAIL] subtest: Throttling the performance timeline task queue.
  • PASS [expected TIMEOUT] /css/css-color/animation/opacity-animation-ending-correctly-001.html (#29215)

@bors-servo
Copy link
Contributor

💔 Test failed - checks-github

@mrobinson
Copy link
Member Author

@bors-servo
Copy link
Contributor

⌛ Testing commit 633d9b0 with merge 66abb1d...

@github-actions
Copy link

github-actions bot commented Jul 3, 2023

Test results for linux-wpt-layout-2020 from try job (#5449062109):

Stable unexpected results that are known to be intermittent (2)
  • OK /_mozilla/mozilla/task_queue_throttling.any.html (#22519)
    • PASS [expected FAIL] subtest: Throttling the performance timeline task queue.
  • PASS [expected TIMEOUT] /css/css-color/animation/opacity-animation-ending-correctly-001.html (#29215)

@github-actions
Copy link

github-actions bot commented Jul 3, 2023

Test results for linux-wpt-layout-2013 from try job (#5449062109):

Flaky unexpected result (14)
Stable unexpected results that are known to be intermittent (15)
  • OK /_mozilla/css/stylesheet_media_queries.html (#17159)
    • PASS [expected FAIL] subtest: Media queries within stylesheets
  • PASS [expected TIMEOUT] /css/css-color/animation/opacity-animation-ending-correctly-001.html (#29215)
  • TIMEOUT /fetch/metadata/generated/css-images.sub.tentative.html (#29047)
    • PASS [expected TIMEOUT] subtest: background-image sec-fetch-user - Not sent to non-trustworthy same-site destination
    • FAIL [expected PASS] subtest: border-image sec-fetch-user - Not sent to non-trustworthy cross-site destination assert_unreached: Reached unreachable code
    • PASS [expected FAIL] subtest: border-image sec-fetch-site - HTTPS downgrade (header not sent)
  • OK /html/browsers/browsing-the-web/navigating-across-documents/empty-iframe-load-event.html (#29066)
    • PASS [expected FAIL] subtest: Check execution order on load handler
    • PASS [expected FAIL] subtest: Check execution order from nested timeout
  • OK /html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/load-pageshow-events-iframe-contentWindow.html (#28681)
    • FAIL [expected PASS] subtest: load & pageshow events do not fire on contentWindow of <iframe> element created with src='' assert_unreached: load should not be fired Reached unreachable code
  • OK /html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/load-pageshow-events-window-open.html (#28691)
    • FAIL [expected PASS] subtest: load event does not fire on window.open('about:blank') assert_unreached: load should not be fired Reached unreachable code
  • TIMEOUT /html/browsers/browsing-the-web/navigating-across-documents/javascript-url-no-beforeunload.window.html (#29055)
    • PASS [expected TIMEOUT] subtest: Navigating an opened window via location.href to a javascript: URL must not fire beforeunload: undefined completion
    • FAIL [expected NOTRUN] subtest: Navigating an opened window with an iframe via location.href to a javascript: URL must not fire beforeunload on the iframe: undefined completion promise_test: Unhandled rejection with value: object "TypeError: w.frames[0] is undefined"
    • PASS [expected NOTRUN] subtest: Navigating an iframe via location.href to a javascript: URL must not fire beforeunload: string completion
    • PASS [expected NOTRUN] subtest: Navigating an iframe via src="" to a javascript: URL after insertion must not fire beforeunload: string completion
    • TIMEOUT [expected NOTRUN] subtest: Navigating an opened window via location.href to a javascript: URL must not fire beforeunload: string completion Test timed out
  • OK /html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-cross-origin.sub.window.html (#29056)
    • FAIL [expected PASS] subtest: Cross-origin navigation started from unload handler must be ignored promise_test: Unhandled rejection with value: object "SecurityError: The operation is insecure."
  • FAIL [expected TIMEOUT] /html/canvas/element/manual/drawing-text-to-the-canvas/canvas.2d.disconnected.html (#29224)
  • OK /html/semantics/forms/form-submission-0/multipart-formdata.window.html (#28725)
    • FAIL [expected PASS] subtest: multipart/form-data: 0x00 in name (normal form) assert_equals: expected "\r\nContent-Disposition: form-data; name="a\0b"\r\n\r\nc\r\n--\r\n" but got ""
  • OK /html/semantics/forms/form-submission-0/urlencoded2.window.html (#28687)
    • FAIL [expected PASS] subtest: application/x-www-form-urlencoded: non-ASCII in filename (formdata event) assert_equals: expected "a=%C9%99.txt" but got ""
  • TIMEOUT /html/webappapis/scripting/events/compile-event-handler-settings-objects.html (#24246)
    • FAIL [expected PASS] subtest: The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document assert_equals: expected "/html/webappapis/scripting/events/resources/open-window.html" but got "blank"
  • CRASH [expected TIMEOUT] /webaudio/the-audio-api/the-audiocontext-interface/audiocontextoptions.html (#21408)
  • OK [expected TIMEOUT] /webmessaging/without-ports/017.html (#24486)
    • PASS [expected TIMEOUT] subtest: origin of the script that invoked the method, about:blank
  • OK [expected TIMEOUT] /webmessaging/without-ports/018.html (#24485)
    • PASS [expected TIMEOUT] subtest: origin of the script that invoked the method, javascript:

@bors-servo
Copy link
Contributor

☀️ Test successful - checks-github
Approved by: mukilan
Pushing 66abb1d to master...

@bors-servo bors-servo merged commit 66abb1d into servo:master Jul 3, 2023
10 checks passed
@mrobinson mrobinson deleted the windows-bootstrap branch July 25, 2023 08:34
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.

Fix mach bootstrap on Windows
3 participants