0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-29 08:58:01 -04:00
Commit graph

32 commits

Author SHA1 Message Date
Bert Belder
d67733c34d
appveyor: place cargo and rustup in the same cache
This avoids the problem that when one of the caches is restored and the
other isn't, Rust doesn't get reinstalled, but it also isn't usable,
crashing the CI.
2018-11-07 03:55:20 +01:00
Bert Belder
ec17239f46
cargo: build in Cargo's out dir if DENO_BUILD_PATH is not set
Plus some minor improvements and clean-ups:

* Resolve DENO_BUILD_PATH to an absolute path if necessary.
* Rename DENO_BUILD_PATH to GN_OUT_DIR in places where it is supposed to
  be set by the build system (and not a user configuration variable).
* Output Cargo `rerun-if-*-changed` instructions first, so even if the
  build itself fails, configuration changes will still trigger a re-run
  of build.rs.
* Remove TODOs that are impossible.
* Re-run build.rs when the flatbuffer definition file changes.
2018-11-01 14:18:18 +01:00
Bert Belder
b73b651612
build: remove absolute path 2018-11-01 13:34:16 +01:00
Ryan Dahl
198e396ead
Support cargo check (#1128)
- Based on code from @qti3e and @piscisaureus in #724 and #1125
  respectively.
- TODO The DENO_BUILD_PATH env var must be supplied and must be an
  absolute path, this restriction should be removed in future work.
2018-10-31 11:11:10 -07:00
Bert Belder
fe97217fa8
ci: peg rust version to 1.30.0 2018-10-26 19:09:38 +02:00
Bert Belder
243a3ba2d0
appveyor: fix logic in Get-SaveCache 2018-10-25 22:48:08 +02:00
Ryan Dahl
fd68f85ce8 libdeno: deno_new should take a snapshot parameter. 2018-10-24 14:52:38 -07:00
Bert Belder
4ceb205512
Bundle pywin32 in third_party 2018-10-23 16:29:46 +02:00
Ryan Dahl
47c96a6152 CI should fail when code isn't formatted. 2018-10-21 13:59:53 -07:00
Ryan Dahl
bcf10bcf27 Upgrade V8 to 7.1.302.4 2018-10-20 16:30:02 -07:00
ztplz
b809a82fd9 Add missing copyrights (#1024) 2018-10-19 15:25:29 -04:00
Amos Lim
15590a0cde Specify deno_dir location with env var DENO_DIR (#970)
(Use C:\deno instead of c:\deno in appveyor config because it's cloned to c:\ by clone_folder variable in .appveyor.yml. On the other hand, build directory is pointed to C:\ by $(APPVEYOR_BUILD_FOLDER) so that test targets are placed on separated partitions.)
2018-10-15 12:08:19 -04:00
Bert Belder
6b77acf39d
ci: set RUST_BACKTRACE=1 2018-10-03 05:35:38 -07:00
Bert Belder
d653808c9f
appveyor: re-enable python stdout buffering
It's not longer necessary.
2018-09-28 12:56:38 -07:00
Bert Belder
d19268b2bf
appveyor: show test output in the build log in realtime 2018-09-17 22:54:51 -07:00
Bert Belder
93a533d732
appveyor: don't persist rollup cache in appveyor cache
Rollups cache usage has turned out to be unreliable, reusing stale data
that should be regenerated.
2018-09-17 22:54:51 -07:00
Bert Belder
28812b8337
appveyor: verify that js/ts files are listed in BUILD.gn 2018-09-12 22:25:03 -07:00
Bert Belder
63c2fc8d1f
appveyor: small fixes
* Add forgotten --eol argument to 'git ls-files'. Without it, in certain
  edge cases, files might have their mtime restored when it shouldn't.
* Don't parse ls-files output into fields; it's unnecessary.
* Disable the pip cache dir, and stop saving it to the appveyor cache.
* Leverage the 'git -C «dir»' flag to make a script shorter.
* Fix some factually and/or grammatically incorrect comments.
2018-09-06 17:07:25 +02:00
Bert Belder
49c0cb578d
appveyor: cache modification times for files in the main repo
This fixes that a lot of targets were being rebuilt unnecessarily.
2018-09-06 04:34:23 +02:00
Bert Belder
224cfc8c74
build: fix rust temp file conflicts during parallel build 2018-08-26 19:22:37 +02:00
Bert Belder
7041f2e5f1
appveyor: verify that ninja files do not use absolute path names
Using absolute paths is generally not intended, and it makes
ccache/sccache much less effective.
2018-08-26 18:27:23 +02:00
Bert Belder
dc105cca5a
appveyor: fix conditional
If the build is not a tag build, APPVEYOR_REPO_TAG is [string]"false",
which is a truthy value.
2018-08-26 18:27:23 +02:00
Bert Belder
c5bb412933
Make deploying windows binaries from appveyor work 2018-08-22 22:34:22 +02:00
Ryan Dahl
355da89eae
Add appveyor binary deploy. (#556)
Also switch to release mode.
2018-08-22 13:42:04 -04:00
Ryan Dahl
81b042c8db
Rename :all target to :default 2018-08-18 01:09:48 +02:00
Bert Belder
3640ea4c0d
build: don't clobber rust depfile mtime when fixing its paths
This avoids ninja unnecessarily rebuilding rust targets.
Add a check for problems like these to be run on appveyor.
2018-08-18 00:58:01 +02:00
Bert Belder
4a55724f81
appveyor: automatically remove stale build outputs from cache 2018-08-17 21:25:12 +02:00
Bert Belder
d75010ddfe
appveyor: use somewhat terser style 2018-08-17 21:25:11 +02:00
Bert Belder
5bdb1ce452
appveyor: work around rust parellel build conflict 2018-08-17 21:25:11 +02:00
Bert Belder
6326ae72b6
appveyor: never save cache after a failed CI run 2018-08-17 21:25:11 +02:00
Bert Belder
fbb6cd4b82
Appveyor updates
* Don't update the cache after building a PR or feature branch.
* Work around 'rustup update' erroring when an update is found.
* Log deleted directories and success/failure status.
* Make build log less noisy.
2018-08-04 06:01:58 +02:00
Bert Belder
df8208557d
Set up Appveyor 2018-08-02 03:56:49 +02:00