1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-13 16:26:08 -05:00
Commit graph

54 commits

Author SHA1 Message Date
Bartek Iwańczuk
ac8c6fec5b Refactor unit test runner (#2294)
Properly discovers the permissions needed for each test.
2019-05-08 19:15:24 -04:00
Bert Belder
da428b52a1
Bump required rustc version to 1.34.1 2019-05-03 17:13:47 +02:00
Bert Belder
cfff8a9c1b
ci: run clippy 2019-05-03 03:47:57 +02:00
Ryan Dahl
6bece270b2
Upgrade CI to Node v12 (#2193) 2019-04-24 20:33:53 -04:00
Ryan Dahl
c9614d86c1
Move //libdeno to //core/libdeno (#2015)
Fixes some sed errors introduced in c43cfe.

Unfortunately moving libdeno required splitting build.rs into two parts,
one for cli and one for core.

I've also removed the arm64 build - it's complicating things at this
re-org and we're not even testing it. I need to swing back to it and get
tools/test.py running for it.
2019-03-30 14:45:36 -04:00
Ryan Dahl
94405bb617
Fix clippy errors and upgrade Rust to 1.33.0 in CI (#1945) 2019-03-20 18:55:52 -04:00
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