Bert Belder
25359bcc03
ci: upgrade git on appveyor to version v2.21.0.windows.1
2019-03-04 21:01:52 -08:00
Yoshiya Hinosawa
d26655371b
fix: improve formatting ( #1732 )
2019-02-11 12:57:26 -05:00
Ryan Dahl
7d278a0383
appveyor: Remove dead code ( #1621 )
2019-01-30 17:20:56 -05:00
JaePil Jung
7f88b5fff3
Minor code cleanups ( #1570 )
2019-01-24 10:54:43 -05:00
Bert Belder
bf63f97eee
ci: work around appveyor cache bug
...
It keeps restoring an old cache. This renames the affected directory
in an attempt to work around that.
2019-01-17 01:38:27 +01:00
Bert Belder
eab457ef95
ci: upgrade rust to version 1.31.1
2019-01-14 05:03:04 +01:00
Bert Belder
56824411fa
ci: cargo build --locked
2019-01-14 02:18:18 +01:00
Ryan Dahl
e809673cec
AppVeyor: Disable DENO_BUILD_PATH cache.
...
Seems to be necessary to get the previous commits to compile correctly.
2019-01-03 09:45:40 -05:00
Ryan Dahl
a7271b7fe5
ci: use RUST_BACKTRACE=full
2019-01-03 09:45:40 -05:00
Bert Belder
26794c623c
ci: change S3 access key
2018-12-20 02:23:49 +01:00
Bert Belder
aac92cb70e
ci: start sccache early and throw away the S3 access key
...
This avoids accidentally leaking the key in the build log.
2018-12-20 02:23:49 +01:00
Bert Belder
0ff5aa0a33
appveyor: make Cargo use sccache when building deps
2018-12-19 18:05:38 +01:00
Bert Belder
3631e614b2
ci: build with Cargo before building with Ninja
2018-12-19 17:50:29 +01:00
Bert Belder
73e80b0763
build: make cargo build
work
2018-12-19 17:50:25 +01:00
Ryan Dahl
aa66ef98ea
travis: Set CARGO_HOME to third_party/rust_crates ( #1370 )
...
Adds prebuilt hyperfine and sccache binaries
Only build test_cc for LSAN
Add Cargo.lock
Only run benchmarks in master
2018-12-18 21:09:30 -05:00
Ryan Dahl
7a0d9370e8
Load sccache from S3 on CI
2018-12-18 15:15:08 -05:00
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