Commit Graph

81 Commits

Author SHA1 Message Date
Michael Kirk
c5a32a6a85 codesign and notarize macos builds
This depends on setting a bunch of secrets. The documentation for which
is here: https://github.com/a-b-street/abstreet/pull/896
2022-04-24 18:35:45 +01:00
Dustin Carlino
7466fafc8c Upgrade to Rust 1.60 [rebuild] 2022-04-08 10:08:11 +01:00
Dustin Carlino
6d3e3fdee1 Fix github build [rebuild] [release] 2022-02-19 18:19:43 +00:00
Dustin Carlino
02e1368e0c Update github workflow to build the split-out LTN tool [rebuild] [release] 2022-01-23 10:27:32 +00:00
Dustin Carlino
ca3cbaa0ad new rust 2022-01-15 14:58:29 +00:00
Dustin Carlino
3df3ee7aa5 Fix the Windows build, which hasn't been pinning to the release's data directory... ever. [rebuild] [release]
Closes #825
2021-12-23 12:01:53 +00:00
Dustin Carlino
54ff9bf566 Update to rust 1.57.
Fix unused warnings in Soundcast importing code
2021-12-03 05:45:56 +00:00
Dustin Carlino
f3a00ab673 Start GH sponsors 2021-11-14 16:31:07 -08:00
Dustin Carlino
bb15d3a368 Convert updater to structopt. #745 2021-11-01 12:46:57 -07:00
Dustin Carlino
9f86365cf6 Upgrade to rust 1.56 and cutover to rust edition 2021 2021-10-21 09:38:06 -07:00
Dustin Carlino
642c87a845 Fix up references to the CLI tools in shell scripts and code. #745
[rebuild]
2021-09-17 18:29:23 -07:00
Dustin Carlino
2ae6dea692 Upgrade to rust 1.54, fix new clippy warnings 2021-07-30 09:48:31 -07:00
Dustin Carlino
8f199177f5 Upgrade to Rust 1.53
- arrays are now iterable directly
- switch to using BTree{Set,Map}::retain!
- a round of clippy
- regenerate scenarios and prebaked data; not sure why, but there's a
  diff
2021-06-17 23:04:35 -07:00
Dustin Carlino
864155f998 Try again, fix github builder [rebuild] [release] 2021-05-31 11:01:43 -07:00
Dustin Carlino
7004cd7af2 Trim down the .zip build to only include Montlake -- that's it. [rebuild] 2021-04-20 16:10:17 -07:00
Dustin Carlino
56f8f4e30d Fix rustdoc build 2021-04-14 14:23:18 -07:00
Dustin Carlino
ae59f22dba Also need gtk on Linux for rfd 2021-04-13 14:51:46 -07:00
Dustin Carlino
f8583b9e36 Looks like rfd needs pango on Linux [rebuild] 2021-04-13 13:51:29 -07:00
Dustin Carlino
7852e1d2b8 Import scenarios from grid2demand's input_agents.csv directly from the UI! #603 [rebuild]
For reference, the input_agents.csv -> abst input is ported from
https://github.com/asu-trans-ai-lab/grid2demand/blob/main/src/demand_to_abst_scenario.py
2021-04-13 13:39:50 -07:00
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