Commit Graph

62 Commits

Author SHA1 Message Date
Dustin Carlino
4c2bc89438 Use Rust 1.51 to build. None of the new changes affect the codebase, though. 2021-03-25 09:02:04 -07:00
Dustin Carlino
ca70d7c617 Fix the broadmoor proposal after the new OSM data import. #574
And fix the github build. [rebuild]
2021-03-20 15:30:34 -07:00
Dustin Carlino
359960c1db Prepare the new map importer to work in the release. [rebuild] 2021-03-15 14:16:18 -07:00
Dustin Carlino
a0f1be139b Add Linux dependencies to the github workflow. I believe they're brought in by the new dependency on clipboard. [rebuild] [release] 2021-03-14 19:49:55 -07:00
Dustin Carlino
57086cf073 Pin to Ubuntu 18.04, because the new 20.04 results in this error on my
18.04 system:

/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found

I'm probably not the only one on an older Ubuntu, and from the last time
I went through this dance, I remember newer systems being able to handle
binaries built on older, but not vice versa.

actionsvirtual-environments#1816
2021-03-08 08:30:14 -08:00
Dustin Carlino
6e7a91ada1 Upgrade to Rust 1.50. Use the new f64 clamp instead of our own. [rebuild] 2021-02-11 10:32:13 -08:00
Dustin Carlino
25a86bf42d Delete mdbook. It's been split out to https://github.com/a-b-street/docs 2021-01-31 15:44:41 -08:00
Dustin Carlino
6642c6e1a9 Rename the experiment crate in preparation for a Monday release 2020-12-19 10:01:28 -08:00
Dustin Carlino
32f7b840e7 Try caching builds again on mac [rebuild] [release] 2020-12-13 16:50:14 -08:00
Dustin Carlino
97a9f38e0c Fix github actions build after adding music [rebuild] 2020-12-09 18:24:47 -08:00
Dustin Carlino
0727619e18 Disable caching on Mac builds; something keeps breaking. [rebuild] 2020-12-02 13:20:43 -08:00
Dustin Carlino
be3d1dc83b Refactor github workflow, since most steps are OS-independent. Build all of the separate binaries. [rebuild] [release] 2020-11-29 16:01:18 -08:00
Dustin Carlino
16b561a408 Move game/helpers into game/common. And fix github rustdoc workflow 2020-11-23 23:39:55 -08:00
Dustin Carlino
c0e2401414 Put the headless API server in the binary release; at least one person wants to use it, but has trouble compiling [rebuild] 2020-11-12 10:01:45 -08:00
Dustin Carlino
054561412d Try the github workflow change again. (Have I learned my lesson about testing these out in a separate branch? Let's find out...) [rebuild] [release] 2020-11-07 19:11:50 -08:00
Dustin Carlino
c9e24ce752 Wire up github actions to sometimes pass a feature flag to pin to a versioned directory in S3. And on that note, [rebuild] [release]. #326, #195 2020-11-07 19:06:33 -08:00
Dustin Carlino
8bc6b09b10 Upgrade to rust 1.47. No relevant changes except that stack traces hide some useless boilerplate now. 2020-10-21 10:25:55 -07:00
Dustin Carlino
bb6dbb0731 Switch from stdweb to websys for #21.
When I added web support in February, it was easier to get started with
stdweb, since it has the nice cargo web tool. However, stdweb is
unmaintained, winit is deprecating support for it, and the next steps
for web (downloading maps dynamically) have better support for web-sys.

With Alvin's guidance, I got
https://github.com/dabreegster/minimal_websys_winit_glow_demo working
first. This PR cuts A/B Street over too.

I tested abst and the widgetry demo in both native and web. The only
major regression from stdweb is the canvas placement and size. I
attempted some fixes, but at this point, I'll leave it as a smaller
followup instead.
2020-10-05 19:50:52 -07:00
Dustin Carlino
f6614f02a6 Fix the caching for the wasm build [rebuild] 2020-09-30 10:02:02 -07:00
Dustin Carlino
2775a7a05d Start building WASM target, to make sure it doesn't build-break again
[rebuild]
2020-09-30 09:49:05 -07:00
Dustin Carlino
0fe3e54a31 Follow https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows to speed up github builds with caching. Seems to about halve build time per target! 2020-09-16 16:26:44 -07:00
Dustin Carlino
45876ed66b Upload just the Windows and Mac binaries separate from the 200MB .zip, to make mid-week sharing of results a little easier [rebuild] 2020-09-14 15:07:43 -07:00
Dustin Carlino
2935d2379b Mechanical rename of ezgui -> widgetry, a much better name to enchant the Rust community. #253 [rebuild] 2020-08-27 10:37:04 -07:00
Dustin Carlino
1c27ba39c7 Upgrade to Rust 1.46. Not using any of its features yet, though
https://blog.rust-lang.org/2020/08/27/Rust-1.46.0.html#track_caller
could be helpful. [rebuild]
2020-08-27 09:31:59 -07:00
Dustin Carlino
bf57c26278 Documenting the trip transitions right now, partly as brainstorming for refactoring 2020-08-23 14:10:52 -07:00
Dustin Carlino
1d0470dac2 Fix the rustdoc workflow (handle ezgui feature import clash, and
document private struct fields)
2020-08-20 16:46:08 -07:00
Dustin Carlino
2bfb5d5ac4 Track how many cars are entering zones with caps.
Tested by print debugging and comparing to throughput stats
2020-08-20 16:38:45 -07:00
Dustin Carlino
8c732feffb Build and publish cargo docs too
First try, real try...
2020-08-19 11:33:00 -07:00
Dustin Carlino
f9b41dda30 finally get github pages + mdbook to work, thanks to
https://github.com/rust-lang/mdBook/pull/1248#issuecomment-671528271 and
removing jekyll
2020-08-10 13:49:30 -07:00
Dustin Carlino
9961b870b6 try to apply the new on/off ramp intersection geometry to all relevant
3-way intersections, for #131
2020-08-05 11:03:02 -07:00
Dustin Carlino
0c15b06922 detect invalid .osm with duplicate nodes/ways/relations in parser. closes #212 2020-07-25 15:00:52 -07:00
Dustin Carlino
c4cfad8157 attempt to deploy mdbook 2020-07-25 14:35:55 -07:00
Dustin Carlino
a86fb5c73d upgrade to rust 1.45 after fixing an issue in fastpaths [rebuild] 2020-07-17 12:54:14 -07:00
Dustin Carlino
1d89d4b85f tie population count to planning areas in berlin, for #119 [rebuild] 2020-07-16 11:34:46 -07:00
Dustin Carlino
d15a842e43 Revert "new rust version. finally strip_prefix is available!"
This reverts commit d16ac9713a.

I'm seeing mysterious brokenness with fast_paths:
https://github.com/easbar/fast_paths/issues/20
Reverting so I can get work done
2020-07-16 08:59:16 -07:00
Dustin Carlino
d16ac9713a new rust version. finally strip_prefix is available!
include berlin and krakow by default in the release, since they're small
and it'll make some collaboration easier [rebuild]
2020-07-16 08:41:28 -07:00
Dustin Carlino
be4daf421c figure out why some dropbox links are stale [rebuild] 2020-06-20 14:04:48 -07:00
Dustin Carlino
851237bed5 clamp minimap recentering a bit better [rebuild] 2020-06-15 14:25:04 -07:00
Dustin Carlino
a9226e5ba9 use Brian's new rust-only updater to finally make self-contained windows
builds! will update the finalize script later [rebuild]
2020-06-10 16:20:16 -07:00
Dustin Carlino
7fcf7890d8 argh another try [rebuild] 2020-06-07 17:48:28 -07:00
Dustin Carlino
a64790f630 try fixing build again [rebuild] 2020-06-07 17:29:21 -07:00
Dustin Carlino
f8f815d094 tightening up more tutorial stages:
- spawn a better amount of trips for low parking
- adjust contention stage so there's only one real problem to fix

also try to fix building the new clipboard dep [rebuild]
2020-06-07 16:59:20 -07:00
Dustin Carlino
f8e89f2de8 working on github flow for new importer binary [rebuild] 2020-05-17 10:04:55 -07:00
Dustin Carlino
e082082c32 try again to bundle importer in release for oneshot. disable gdal.
[rebuild]
2020-05-17 09:25:44 -07:00
Dustin Carlino
9ce3061e17 have to disable gdal to build on github. give up for now [rebuild] 2020-05-12 11:35:14 -07:00
Dustin Carlino
510e75b043 include importer in release [rebuild] 2020-05-12 11:04:18 -07:00
Dustin Carlino
a04c072aed upgrade to rust 1.43, remove some now redundan imports [rebuild] 2020-04-23 09:22:04 -07:00
Dustin Carlino
41aa42e552 fix github actions after rust upgrade [rebuild] 2020-03-14 07:25:48 -07:00
Dustin Carlino
171335f64d woops, need rust 1.41 in github actions for the cargo profile overrides
[rebuild]
2020-02-18 15:43:21 -08:00
Dustin Carlino
d0afcedbaa work around more github action silliness [rebuild] 2020-01-22 10:44:46 -08:00