-
Notifications
You must be signed in to change notification settings - Fork 123
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
Travis times out on cloning sample models on Mac build #38
Comments
That would be a good alternative. This could be merged with https:/alteous/gltf/issues/39. |
The glTF-Sample-Models submodule exists for testing purposes. It has been removed in favour of a build script which downloads a compressed version of the repository during testing. This is intended to prevent the Travis builds from timing out, as reported in https:/alteous/gltf/issues/38.
N.B. the download link is actually https://codeload.github.com/KhronosGroup/glTF-Sample-Models/zip/master. |
Since glTF-Sample-Models was made a 'shallow' submodule (i.e. only the last commits are cloned) this issue seems to have stopping occuring. I hope this will continue to be the case in the future. At the moment I'm not experienced enough with version control systems to figure out a better solution. Downloading the zipped models worked on my own OS (Kubuntu) but there seems to be no cross-platform way without depending on significantly more crates. Has the download time improved for you since this change was made? |
Actually I had timeouts again, though I'm not sure I was on the correct branch (didn't find that commit in the history)...let me try again. |
Hmm, no luck: https://travis-ci.org/bwasty/gltf-viewer/jobs/252109361 |
Idea I had while once again waiting for the samples submodule (...happens locally for each |
How might this help? |
What would be really great is if we could package up pre-compiled crates. I have a slightly crazy idea of using |
It would only help dependent crates, so it wouldn't be a full solution (...
I'd prefer to keep it file-based because I'll probably also need to add the samples to the viewer eventually for integration tests. Did you see KhronosGroup/glTF-Sample-Models#26 (comment)? |
Actually, going back to the zip idea...why not add Also, I tried out S3 for fun - here's a 330MB zip with only the 2.0 samples: |
I've had a jab at KhronosGroup/glTF-Sample-Models#77: What do you think? |
The index generator script is great!
How do you do this? I keep getting 404 for anything other than the whole project.
That would be useful for local builds but I'm not sure how useful it would be for travIs et al. |
It's what the
Yes, that's mainly for local builds. Although trust is set up to cache+reuse "Cargo artifacts" between builds, and it looks like custom directories could also be cached: https://docs.travis-ci.com/user/caching/#Fetching-and-storing-caches. |
This change is intended to stop travis builds from timing out when cloning the sample models. See https:/alteous/gltf/issues/38 for further information.
https://travis-ci.org/alteous/gltf/builds (╯°□°)╯︵ ┻━┻ |
The errors occur because the submodule is one commit behind master. I'd propose removing |
Travis CI allows for caching crates with |
I'm a bit fed up with this issue. Until caching is feasible, I suggest we run the import tests locally. I'm currently doing this with an environment variable |
I see #94 still had |
Oh, I forgot about that, thanks for reminding me. |
Does this warrant closing of this issue? |
Looking at the times, it seems just under the timeout limit, so it's probably random chance if it will succeed. I noticed the travis config changed so I could copy-paste the solution used in the viewer: #107. |
The Travis build doesn't time out often anymore. I'd like to resolve and close this issue as 'good enough'. |
Resolution: 'Good enough'. |
Had two failed builds in my project (got a dependecy on the
wrapper
branch) and saw it also happened once here:https://travis-ci.org/alteous/gltf/jobs/242077737
Perhaps it would be an alternative to download the zip file (https:/KhronosGroup/glTF-Sample-Models/archive/master.zip). The repo is a 1GB after cloning, the .zip only 540MB and downloads in ~2min for me.
The text was updated successfully, but these errors were encountered: