Comments (3)
It looks like the build step gets stuck between downloading dependencies and compiling them. The compile times themselves look normal.
2021-04-01T16:12:25.0569480Z Downloaded ahash v0.7.2
2021-04-01T16:12:25.0672550Z Downloaded cc v1.0.67
2021-04-01T16:12:25.0760620Z Downloaded Inflector v0.11.4
2021-04-01T16:12:25.0898820Z Downloaded async-executor v1.4.0
2021-04-01T18:31:08.0192370Z Compiling libc v0.2.91
2021-04-01T18:31:08.0199130Z Compiling proc-macro2 v1.0.24
2021-04-01T18:31:08.0200050Z Compiling unicode-xid v0.2.1
2021-04-01T18:31:08.8948470Z Completed unicode-xid v0.2.1 in 0.9s
2021-04-01T18:31:08.8949060Z Compiling syn v1.0.65
2021-04-01T18:31:17.0937290Z Completed libc v0.2.91 custom-build in 9.1s
2021-04-01T18:31:17.0947910Z Completed syn v1.0.65 custom-build in 8.2s
2021-04-01T18:31:17.0956210Z Compiling bitflags v1.2.1
from bevy_game_template.
The long macOS build times seem to be caused by the fact that I have a build script. The build finishes in ~10min without build.rs
but takes up to several hours with an empty build script. Since there doesn't seem to be a way of defining a build script only for specific targets jet (rust-lang/cargo#4932), I'm kind of stuck with this issue.
from bevy_game_template.
To finally have reasonable macOS build times I am now deleting build.rs
in a pre-build step of the macOS job (see 6ad9e81). Thanks, @mockersf for the idea.
from bevy_game_template.
Related Issues (20)
- CI does not fail on clippy warnings
- Workflow to build Android app bundles
- No audio on iOS
- Customise icon and player
- More content for the template game
- Extend menu
- Multi-threaded HOT 1
- Canvas not used with trunk? HOT 3
- Simplify starter index page and add a simple loading indicator
- panic on macOS w/ Apple M2 HOT 6
- Ensure running on an iOS Simulator still works HOT 1
- Stuck at trunk serve
- trunk only show black screen HOT 2
- Thanks
- Mac OS release CI workflow fails: "can't find crate for `core`" HOT 6
- Error when compiling apk HOT 1
- LTO options in release and dist profiles are swapped HOT 1
- Building for iOS causes errors HOT 7
- BUILD_INSTALLER doesn't work as expected
- trunk serve is broken HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bevy_game_template.