Ryan Dahl
8373046719
Add LSAN build to travis.
...
For now it only runs test_cc and has to filter out a test which leaks.
However we will expand this over time until the entire build is LSAN clean.
2018-12-03 15:31:06 -08:00
Ryan Dahl
daa84646e1
travis: test rust version before rustup
2018-11-30 15:07:13 -08:00
Ryan Dahl
60a3b98ba0
Don't use use_custom_libcxx=false on travis.
2018-11-27 15:47:31 -08:00
Aladeen
1a876a70de
travis should immediately fail when lint or test_format fails ( #1172 )
...
Fixes #1104
2018-11-08 09:19:37 -08: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
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