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
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
Ryan Dahl
47c96a6152
CI should fail when code isn't formatted.
2018-10-21 13:59:53 -07:00
ztplz
b809a82fd9
Add missing copyrights ( #1024 )
2018-10-19 15:25:29 -04:00
Ryan Dahl
fda7aaa10e
Use node v8 on Travis.
...
Apparently OSX defaults to v6 and Linux to v8.
v6 does not properly run //js/testing due to async usage.
2018-10-11 20:29:43 -04:00
Bert Belder
6b77acf39d
ci: set RUST_BACKTRACE=1
2018-10-03 05:35:38 -07:00
Bert Belder
9e317c61d7
travis: don't cache unnecessary cargo and rustup files
2018-09-26 10:25:59 -07:00
Bert Belder
07d5035dd7
travis: name CARGO_HOME and RUSTUP_HOME env vars correctly
...
Because this is what rustup and cargo actually use:
https://doc.rust-lang.org/cargo/reference/environment-variables.html
2018-09-26 10:25:58 -07:00
Bert Belder
1fe474ba53
travis: use sccache to cache rust targets
2018-09-26 10:25:58 -07:00
Bert Belder
f42849744b
travis: save homebrew/ccache to cache, set ccache size to 1GB
2018-09-24 17:36:14 -07:00
Kevin (Kun) "Kassimo" Qian
1729bdb0d7
Add thread count benchmark ( #811 )
2018-09-24 18:12:52 -04:00
Bert Belder
56acb6fa0e
travis: fix the build, attempt 2
2018-09-22 12:27:50 -04:00
Bert Belder
6b868ebba4
travis: fix github pages deploy condition
2018-09-22 08:42:59 -04:00
Bert Belder
06c2e084ff
travis: run benchmarks on linux, deploy to github pages
2018-09-22 01:31:54 -07:00
Bert Belder
82ca6538b1
travis: clean up & tweaks
2018-09-22 01:31:49 -07:00
Bert Belder
516e1da54c
Revert "Add benchmark tools ( #777 )"
...
This reverts commit 3ad48bdb3e
.
2018-09-21 15:18:44 -07:00
Yoshiya Hinosawa
3ad48bdb3e
Add benchmark tools ( #777 )
2018-09-21 12:06:59 -04:00
Bert Belder
4b3a8be640
travis: allow cache to be saved when build takes too long
...
Kill Ninja after 35 minutes to prevent Travis from cancelling the build
due to time-out. This allows the cache to be saved, so the build can
complete when it is attempted again.
2018-08-24 20:57:32 +02:00
Andy Hayden
0208305fcd
Add osx to travis
2018-08-24 00:06:05 -04:00
Ryan Dahl
0c907715a3
Travis: branches only master prevents building tags
...
It appears there's no way to whitelist tags in addition to master, so we
can just build all for now.
https://github.com/travis-ci/travis-ci/issues/2111
2018-08-22 14:18:09 -04:00
Ryan Dahl
cb1393cdae
Travis deploy ( #548 )
...
* Fix travis deploy / simplify build.
- No more stages, only build release mode.
- Fixes API key issue.
* Reinstate master only - testing was successful.
2018-08-21 08:42:23 -04:00
Robert Lin
2d6cb9024e
Fix travis release builds ( #539 )
2018-08-18 11:46:40 -04:00
Robert Lin
87a061785e
Travis: publish from CI ( #501 )
...
Split travis build into stages, add release stage.
2018-08-17 11:54:36 -04:00
Ryan Dahl
376f4dfcbf
travis: adjust cache
...
- cache sysroot and llvm-build so they don't have to be downloaded each time.
- Remove DENO_BUILD_PATH from cache. ccache does all the heavy lifting, no need
to cache the build dir.
2018-08-07 10:08:19 -04:00
Ryan Dahl
d63e03a8e7
Use build.py -j2 on travis.
...
Avoids OOM during rollup.
2018-08-02 23:12:49 -04:00
Ryan Dahl
d8b68648d1
Update repo links to denoland.
2018-08-02 23:12:49 -04:00
Ryan Dahl
193b3965ca
Travis: cache ~/.cargo
2018-08-02 12:49:40 -04:00
Ryan Dahl
37ec079325
Remove depot_tools from travis.
...
Fixes #399
2018-07-29 00:24:16 -04:00
Ryan Dahl
db65c723ae
Rename run_hooks.py to setup.py
...
Moves 'gn gen' into setup.py
Make tools/build.py more ergonomic.
2018-07-29 00:24:16 -04:00
Ryan Dahl
0875411267
Add tools/build.py ( #398 )
...
To allow better tab completion for ./tools/build.py
mv build_third_party.py sync_third_party.py
2018-07-24 13:42:23 -04:00
Ryan Dahl
dff5c16e85
Add tools/test.py test runner. ( #384 )
2018-07-21 19:08:24 -04:00
Ryan Dahl
5d1cb54261
Add deno_third_party as git submodule.
2018-07-21 13:04:11 -04:00
Ryan Dahl
3dde880c32
Rename deno_nosnapshot to deno_ns.
2018-07-18 15:43:50 -04:00
Ryan Dahl
3e51605bc9
Execute JS for the first time in Rust rewrite.
...
Implements code_fetch handler in Rust.
Add ability to embed string assets (for typescript declaration files)
Remove deno_cc and deno_cc_nosnapshot targets.
2018-07-18 15:43:50 -04:00
Ryan Dahl
691a375eab
Add :all target
2018-07-13 14:38:50 -04:00
Ryan Dahl
2c30a25568
Move C++ test main function to its own file.
2018-07-13 14:38:50 -04:00
Faris Amali Alis
7e5f0a7a66
Add nosnapshot executables for faster incremental builds ( #359 )
...
Fixes #311 .
2018-07-12 15:06:36 -04:00
Ryan Dahl
f917c5e722
Clean up tools/
...
- Factor out tools/util.py
- Move js/*.py to tools.
- Rewrite tools/format.sh in python.
- Run lint first in travis.
2018-07-08 13:40:18 -04:00
Hao Li
cf0c0668da
Rewrite tools/lint.sh in python ( #343 )
2018-07-08 01:56:03 -04:00
Ryan Dahl
6bff970d69
Add rust_test to gn build, with working example.
2018-07-07 17:24:46 -04:00
Ryan Dahl
131e0ce4c7
Rename mock_main to deno_cc
2018-07-05 12:41:28 -04:00
Ryan Dahl
72cd03a1c5
Change node_modules cache dir.
2018-07-04 16:43:08 -04:00
Yoshiya Hinosawa
2060bc939d
Add tools/build_third_party.py ( #328 )
...
Fixes #312
2018-07-04 15:04:59 +02:00
Ryan Dahl
15d6541d4d
Separate deno.gni and rust.gni and clean up.
...
Put rust depfile in target_out_dir because the depfile isn't in the
outputs, the gen directory doesn't get created.
Prefix rlib files with lib.
2018-07-04 14:24:25 +02:00
Yoshiya Hinosawa
6f7ca760b8
move v8 to third_party/v8 ( #322 )
2018-07-03 10:15:32 +02:00
Ryan Dahl
6d288b63cd
Call lint in travis (and fix long long issue)
2018-07-02 09:09:23 +02:00
Yoshiya Hinosawa
ea35281d63
chore: move //src/js to //js
...
refs: #285
2018-07-01 17:22:36 +02:00
Yoshiya Hinosawa
6830370c3e
reorg: Move GN files to root ( #309 )
...
refs: #285
2018-07-01 13:47:28 +02:00
Ryan Dahl
4b234df803
Rename deno_rs to deno.
2018-06-25 23:08:14 +02:00
Ryan Dahl
5aeaad9a6a
Fix run_node.py symlink.
2018-06-25 23:07:57 +02:00
Ryan Dahl
6f51c1774d
Fix travis node_modules symlink problem by force.
2018-06-22 19:22:38 +02:00
Tristan Marion
3b595253a2
Move deno2
folder to src
( #277 )
2018-06-22 15:30:35 +02:00
Ryan Dahl
86354a29a4
Delete go implementation ( #276 )
...
The go prototype will remain at https://github.com/ry/deno/tree/golang
2018-06-22 14:23:42 +02:00
Ryan Dahl
ef9dc2464e
Travis for deno2
2018-06-22 12:38:16 +02:00
Ryan Dahl
1406173a51
Try to fix travis again.
2018-05-29 12:13:23 -04:00
Ryan Dahl
344525c2c8
Fix travis.
2018-05-29 07:04:22 -04:00
Parsa Ghadimi
19e50ec173
Fix travis
2018-05-29 06:12:24 -04:00
Ryan Dahl
4936a4e5c2
Try to fix travis
2018-05-29 05:08:11 -04:00
Ryan Dahl
bd1fceb31d
Travis: Try to fix ccache
2018-05-29 04:54:03 -04:00
Ryan Dahl
37679aaa1a
Travis: Cache node_modules and parcel dir.
2018-05-29 03:09:54 -04:00
Ryan Dahl
1d71f93e2f
Fix ccache in travis (and update readme)
2018-05-29 01:35:06 -04:00
Ryan Dahl
a4d89f2ee1
Update V8Worker2 build.py path.
...
ab9d1b8709
2018-05-28 22:30:25 -04:00
Ryan Dahl
71c4f5e5bb
Attempt to fix v8worker2 caching.
2018-05-28 11:25:14 -04:00
Ryan Dahl
80685a53eb
Try to fix travis
2018-05-27 18:07:51 -04:00
Ryan Dahl
81d0c571ba
Travis: Don't cache v8worker2/out
2018-05-27 15:01:16 -04:00
Ryan Dahl
386eb082fe
Attempt to fix travis
2018-05-27 14:53:56 -04:00
Ryan Dahl
9b8dc66c9f
Add protoc-gen-go install to travis
2018-05-27 12:52:17 -04:00
Ryan Dahl
8eeededd90
Try to fix travis
2018-05-25 13:27:03 -04:00
Ryan Dahl
016684a586
Try to fix travis
2018-05-24 14:00:54 -04:00
Ryan Dahl
8b4809d680
Fix travis file
2018-05-24 12:03:44 -04:00
Ryan Dahl
b2ca48a621
Use protobuf 3.1 in travis.
2018-05-23 14:29:14 -04:00
Ryan Dahl
e4a0acb429
Adjust travis's ccache
2018-05-23 13:46:12 -04:00
Ryan Dahl
10c198fffd
Try to fix travis
2018-05-22 15:25:16 -04:00
Parsa Ghadimi
cd9c361ee1
Improve travis build
2018-05-22 11:54:08 -04:00
Ryan Dahl
487bf4e1ac
Fix travis.
2018-05-18 21:55:51 -04:00
Ryan Dahl
39da69f051
Fix travis.yml
2018-05-18 12:32:37 -04:00
Ryan Dahl
5117a8f8a2
Compile cache and relative imports working.
2018-05-15 04:50:45 -04:00
Ryan Dahl
03af2c7118
Try to fix travis
2018-05-14 22:26:56 -04:00
Ryan Dahl
6f59a9588b
Add tslint, and tenative travis file.
2018-05-14 03:06:09 -04:00