-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Fix Travis Windows build #3418
Fix Travis Windows build #3418
Conversation
If that doesn't having binary representation of |
Strange, |
I don't know what's going on with the cat 🐈 and dos2unix =( Looking at the test output again, specifically the diffs: https://travis-ci.org/rust-lang-nursery/rust-clippy/jobs/451994929#L1102 I guess I will try it with a patched compiletest-rs to print newline characters using |
4bda9f7
to
0ce538d
Compare
oh wait 🤦♂️! Looking at the past logs again, it looks like dos2unix only formats the first directory that's globbed from
I'm going to give it a try with some sort of |
Marked as WIP because this will need a rebase tomorrow and Travis doesn't start right now either. I'm pretty convinced that the updated |
Well done, looks better:
|
bceff57
to
44c73f0
Compare
The UI and UI-Toml tests pass now. The dogfood tests are failing now:
I wonder what's up with |
Try adding toolchain bin dir to the PATH: #1422 (comment) Other people also hit this issue: https://github.com/rust-lang-nursery/rust-clippy/search?q=3221225781&type=Issues |
In the appveyor config we add the binaries with https://github.com/rust-lang-nursery/rust-clippy/blob/3bb88775de5a6f8f5c5743dd11af6c820122ccc7/appveyor.yml#L27 to the |
Lib won't work for Windows, all dynamic libs are placed in /bin. |
c577752
to
67b7e08
Compare
That worked! I now also removed the windows build from |
d77532a
to
f00f749
Compare
Nice, windows passes now! Let's bring this on it's way, but still keep appveyor until travis windows is (more) stable (windows build time not linux build time times 2). bors r+ |
3418: Fix Travis Windows build r=flip1995 a=phansch Closes #3306 Co-authored-by: Philipp Hansch <[email protected]>
Build failed |
huh, the windows build failed without error. I'm going to restart it. for reference, because the log will be lost with the restart:
|
This comment has been minimized.
This comment has been minimized.
3418: Fix Travis Windows build r=flip1995 a=phansch Closes #3306 Co-authored-by: Philipp Hansch <[email protected]>
This comment has been minimized.
This comment has been minimized.
I guess the |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Removing @bors try |
Fix Travis Windows build Closes #3306
☀️ Try build successful - checks-travis, status-appveyor |
We could maybe skip the dogfood tests on windows? I'm not sure but I guess that's where most of the time is spent in the windows build. |
This reverts commit 876a7e1. Using incremental build on windows increases the build time on travis by about 8 minutes.
Build time is up by 8 minutes without Removing dogfood is a good idea, since the results should be the same on windows and linux/macos. To improve the build time of every build: Maybe we could also cache RTIM, to not have to install it every time? |
Without dogfood we now have about the same build times across the platforms. @bors try I think the important question before merging this is: |
Fix Travis Windows build Closes #3306
☀️ Try build successful - checks-travis, status-appveyor |
@bors try |
Fix Travis Windows build Closes #3306
c61e4e1
to
1e33455
Compare
Caching RTIM only saves 2-5 minutes of build time, but stores caches of the size of ~40MB. I don't think this is worth it. |
1e33455
to
ce2a7b0
Compare
This should be ready for merge now. Last question: Should we
|
If it works, it works 🤷♂️ Thanks for pushing this through! @bors r=me,flip1995 |
📌 Commit ce2a7b0 has been approved by |
Fix Travis Windows build Closes #3306
☀️ Test successful - checks-travis, status-appveyor |
Closes #3306