Commit Graph

21 Commits

Author SHA1 Message Date
Alex Crichton
22b3c37112 Remove some crufty AppVeyor configuration
The `crt-static` feature should be long since stable as well as incremental
compilation.
2018-09-12 11:08:19 -07:00
Alex Crichton
d279fe81e7 Try to fix AppVeyor 2018-09-06 16:22:19 -07:00
Alex Crichton
6e319509e5 Don't test all web-sys features on Windows
Unfortunately this blows the command line limit and will fail CI
2018-09-06 15:07:04 -07:00
Alex Crichton
269c491380
Gate web-sys APIs on activated features (#790)
* Gate `web-sys` APIs on activated features

Currently the compile times of `web-sys` are unfortunately prohibitive,
increasing the barrier to using it. This commit updates the crate to instead
have all APIs gated by a set of Cargo features which affect what bindings are
generated at compile time (and which are then compiled by rustc). It's
significantly faster to activate only a handful of features vs all thousand of
them!

A magical env var is added to print the list of all features that should be
generated, and then necessary logic is added to ferry features from the build
script to the webidl crate which then uses that as a filter to remove items
after parsing. Currently parsing is pretty speedy so we'll unconditionally parse
all WebIDL files, but this may change in the future!

For now this will make the `web-sys` crate a bit less ergonomic to use as lots
of features will need to be specified, but it should make it much more
approachable in terms of first-user experience with compile times.

* Fix AppVeyor testing web-sys

* FIx a typo

* Udpate feature listings from rebase conflicts

* Add some crate docs and such
2018-09-05 12:55:30 -07:00
Alex Crichton
a48a35fe41 Fix npm ci on AppVeyor 2018-08-27 19:02:26 -07:00
Alex Crichton
6c0a00ca39 Build tags on AppVeyor 2018-08-27 17:34:35 -07:00
Andrew Chin
5af2837b96 Enable js-sys, web-sys, and webidl-tests tests in appveyor 2018-08-14 19:12:29 -04:00
Alex Crichton
eda1033246 Tweak Travis/AppVeyor config
* Fix running dist builds on tags
* Only run dist builds on tags, no need to run the full matrix.
* Fix dist builds on AppVeyor to include `wasm-bindgen-test-runner.exe`
* Only cache `~/.cargo` on Travis for the guide build, the `target` dir changes
  too much to cache it.
2018-07-26 11:31:38 -07:00
R. Andrew Ohana
89e8a4561e use npm ci in ci (#481) 2018-07-14 22:45:58 -05:00
Alex Crichton
45d25ebdf0 Only check the master branch 2018-07-06 13:30:28 -07:00
R. Andrew Ohana
cc1db03e5a use both npm and yarn in ci 2018-06-25 17:22:51 -07:00
Alex Crichton
ad89d8457e
Fix tests by pinning versions of webpack (#219)
Looks like a newer version of webpack has broken tests, so let's use
package-lock.json to pin to an older version while we wait for a fix.
2018-06-01 13:42:59 -05:00
Alex Crichton
237fff0698 Map u64/i64 to BigInt in JS
This commit is an implementation of mapping u64/i64 to `BigInt` in JS through
the unstable BigInt APIs. The BigInt type will ship soon in Chrome and so this
commit builds out the necessary support for wasm-bindgen to use it!
2018-05-05 18:51:20 -07:00
Alex Crichton
cf9ef7b570 Disable incremental on CI for now
It seems... buggy!
2018-04-03 13:01:34 -07:00
Alex Crichton
f77612531f Try to debug a failing test on AppVeyor 2018-04-03 08:46:02 -07:00
Alex Crichton
1db5b3fb50 Add Travis/AppVeyor deployments 2018-03-05 20:05:39 -08:00
Alex Crichton
353794417c Don't run npm install during tests
Instead add a `package.json` and use `yarn run`.
2018-03-02 15:44:28 -08:00
Alex Crichton
597fd98744 Test installation on CI as well 2017-12-19 09:28:31 -08:00
Alex Crichton
9369ae9522 Try installing node on AppVeyor 2017-12-18 16:29:45 -08:00
Alex Crichton
384027088b Install wasm target on CI 2017-12-18 14:55:25 -08:00
Alex Crichton
abb9c845a5 Add CI and a small README 2017-12-18 14:49:04 -08:00