1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
Commit graph

550 commits

Author SHA1 Message Date
Bartek Iwańczuk
21e8ff6fc1
build: upgrade Rust to 1.48.0 (#8434) 2020-11-19 18:38:31 +01:00
Divy Srivastava
d5661f677e
refactor: deno_crypto op crate (#7956)
This commit factors out "deno_crypto" op crate.

"rand" crate dependency was consequently moved to 
"deno_crypto" crate and reexported.
2020-11-13 22:01:57 +01:00
KNnut
8cc5e18f80
chore: remove dead code (#8296) 2020-11-08 19:07:33 +01:00
Luca Casonato
37b7024a8f
build: full color ci logs (#8280) 2020-11-07 20:31:35 +01:00
Bartek Iwańczuk
791119d4af
build: rewrite tools/ scripts to deno (#8247)
This commit rewrites scripts in "tools/" directory
to use Deno instead of Python. In return it allows 
to remove huge number of Python packages in "third_party/".
2020-11-05 15:53:21 +01:00
Ryan Dahl
3e51610bbb
Remove github actions cache (#8020)
Running into issues with cache when trying to upgrade V8. Based on the analysis in
https://github.com/denoland/deno/pull/7903#issuecomment-706252380 
we know the cache is not providing much benefit.
2020-10-18 12:12:17 -04:00
Bartek Iwańczuk
9731cbc288
fix Releases.md (#7883) 2020-10-09 19:05:50 +02:00
Bert Belder
265c25754b
ci: add workaround for MacOS + Cargo + Github Actions cache bug (#7898) 2020-10-09 17:03:58 +02:00
Bert Belder
f911dc3afe
ci: fix rusty_v8 binary download unavailable (#7898)
A recent change in rustc or cargo made it so that rusty_v8's `build.rs`,
which is responsible for downloading `librusty_v8.a`, does not get
rebuilt or re-run when its build output directory is restored from the
Github Actions cache.

However, rusty_v8's custom build script does not save the download to
its build output directory; it puts the file in
`target/debug|release/gn_out/obj` instead.

To get CI going again we opted to add `target/*/gn_out` to the Github
Actions cache.

A more robust fix would be make rusty_v8 save the download to the
cargo-designated output directory.
2020-10-09 15:11:36 +02:00
Bartek Iwańczuk
2ae59318ee
build: invalidate GHA cache (#7894) 2020-10-09 13:00:39 +02:00
Bartek Iwańczuk
1cb91b7362
upgrade: Rust 1.47.0 (#7886) 2020-10-08 18:12:24 +02:00
Bartek Iwańczuk
6b8aef5103
chore: update contributing.md and PR template (#7820) 2020-10-06 10:40:48 +02:00
Luca Casonato
1a27c19c58
build: use non xl runners outside deno repo (#7729) 2020-09-27 23:41:42 +02:00
Kang Huaishuai
ab96619cd6
simply github actions yaml (#7688)
use strategy->matrix->include
2020-09-26 10:13:59 -04:00
Bert Belder
ab5c014a48
ci: fix publishing the 'deno_fetch' crate (#7568) 2020-09-18 22:43:05 +02:00
Ryan Dahl
8edf099485
publish deno_fetch during CI (#7557) 2020-09-18 12:31:30 -04:00
Casper Beyer
35ed3ce8d9
ci: remove wasm target installation step (#7512) 2020-09-16 12:10:40 +02:00
Luca Casonato
71a987942a
build: use GitHub Actions XL runners (#7406) 2020-09-09 17:38:37 +02:00
Trivikram Kamat
0071dfdc5c
update actions to run on ubuntu-18.04 (#7160) 2020-08-31 11:48:58 -04:00
Ryan Dahl
e27fb30117
upgrade: rust 1.46.0 (#7251) 2020-08-29 18:07:44 +02:00
Valentin Anger
31f32ed8c4
Move benchmarks to Rust (#7134)
All benchmarks are done in Rust and can be invoked with
`cargo bench`.

Currently this has it's own "harness" that behaves like
`./tools/benchmark.py` did.
Because of this tests inside `cli/bench` are currently not run.
This should be switched to the language provided harness
once the `#[bench]` attribute has been stabilized.
2020-08-28 09:03:50 -04:00
Ryan Dahl
732a437352
Add README for deno_web (#6997) 2020-08-09 07:27:39 -04:00
Bert Belder
694bd9092c
upgrade: rust 1.45.2 (#6980) 2020-08-08 21:23:20 +02:00
Trivikram Kamat
ccd0d0eb79
chore(ci): update actions to run on macos-10.15 (#6884) 2020-07-26 16:24:32 -04:00
Ryan Dahl
f162ced76a
Remove deno_typescript references from ci (#6866) 2020-07-24 07:36:54 -04:00
Bartek Iwańczuk
da48fa42d3
chore: update Rust to 1.45.0 (#6791) 2020-07-18 10:54:51 -04:00
Casper Beyer
a354b248ea
feat(std/wasi): add wasi_snapshot_preview1 (#6441) 2020-06-24 09:27:31 -04:00
Bert Belder
9a783ae4e6
ci: upgrade to Rust 1.44.0 (#6113) 2020-06-05 05:11:15 +02:00
Bert Belder
7069d60423
ci: use upstream actions/cache@v2 (#6113)
Upstream finally tagged v2.0.0 so there's no reason to use our own fork
any longer.
2020-06-05 04:35:50 +02:00
Sora Morimoto
304d78f2c9
Bump actions/checkout from v1 to v2 (#5882) 2020-05-26 23:04:38 -04:00
Ryan Dahl
f7b4523178
Add sponsor button (#5880) 2020-05-26 15:28:48 -04:00
Ryan Dahl
60dfd911de
ci: don't fail-fast on tag build (#5189) 2020-05-10 12:39:27 -04:00
Ryan Dahl
5de077ab65
Move style guide to docs dir (#5174) 2020-05-09 09:05:23 -04:00
Bert Belder
f479b19649
Don't publish cli when tag name starts with 'std/' (#5159) 2020-05-08 21:20:51 +02:00
Bert Belder
102a247ebb
Use a Github Actions cache version that works (#5113) 2020-05-06 22:35:24 +02:00
Bartek Iwańczuk
da6d0c2760
upgrade: Rust 1.43.0 (#4871) 2020-04-23 14:12:44 -04:00
Bert Belder
10a174834e
Upgrade to rusty_v8 v0.4.0 (#4856) 2020-04-23 03:35:52 +02:00
Khải
e4c130d89b
ci: Set restore-keys for cache (#4745)
Before this commit, when Cargo.lock changes, cache is completely rebuilt, wasting time.

After this commit, if cache for a specific Cargo.lock is not found, it will fallback to find cache of another Cargo.lock.
2020-04-14 12:41:42 -04:00
Luca Casonato
470681cd3c
Publish deno types on release (#4583) 2020-04-02 11:56:09 -04:00
Ryan Dahl
8a6b8faeb5
Remove old release files (#4545)
deno_install scripts were updated in
b635b52584
2020-03-31 23:30:09 +02:00
Ryan Dahl
5837ce464c
upgrade: rusty_v8 to v0.3.9 (#4505) 2020-03-28 10:00:14 -04:00
Bert Belder
449dbe5272
Statically link the C runtime library on Windows (#4469) 2020-03-23 20:31:29 +01:00
Ryan Dahl
3e74309798
ci: releases should all use zip and LLVM target triples (#4460)
Old release files are left around until we are able to update
deno_install.
2020-03-22 19:21:31 -04:00
Bert Belder
b191c919f3
Optimize github cache usage, remove sccache (#4452) 2020-03-21 21:58:33 +01:00
Ryan Dahl
0adc86f105
Remove DENO_BUILD_MODE and DENO_BUILD_PATH (#4431)
* Remove DENO_BUILD_MODE and DENO_BUILD_PATH

Also remove outdated docs related to ninja/gn.

* fix

* remove parameter to build_mode()

* remove arg parsing from benchmark.py
2020-03-20 21:48:34 -04:00
Ryan Dahl
83f4916195
ci: Use github action's cache in addition to sccache (#4417) 2020-03-18 09:59:10 -04:00
Ryan Dahl
fb27e71c01
Fix benchmarks (#4416) 2020-03-18 00:55:18 -04:00
Bert Belder
67ab201e26
Use V8 binary build in Github Actions (#4412) 2020-03-17 17:42:23 -07:00
Bert Belder
0ef99ac970
Set environment variables correctly in Github Actions (#4412) 2020-03-17 17:42:22 -07:00
Ryan Dahl
1e28d6bdac
ci: Use Azure blob storage for sccache (#4354) 2020-03-14 12:53:06 -04:00
Ryan Dahl
3ac642c183
upgrade: Rust 1.42.0 (#4331) 2020-03-12 18:07:57 +01:00
Ryan Dahl
36c50f442d
Move benchmark data to different repo (#4273) 2020-03-07 12:29:19 +01:00
João Souto
ff4b7b0921
Add clippy to /tools/lint.py (#4132) 2020-02-27 14:30:41 -05:00
Ryan Dahl
fe181e2b48
ci: Use fetch-depth: 5 (#4127) 2020-02-25 18:03:11 +01:00
Ryan Dahl
af081d7449
upgrade: Rust 1.41.0 (#3838) 2020-01-31 04:49:13 -05:00
Ryan Dahl
3059558d41
fix cargo-publish-on-tag (#3781)
Also rename the "test" CI worker to "test_release"
2020-01-24 14:24:27 -05:00
Ryan Dahl
3c47718959 Remove cargo-package test (#3752)
The test still relies on crates published to crates.io, thus this test
prevents us from making changes to the API used between cli and
deno_typescript.
2020-01-22 19:43:14 +01:00
Ry Dahl
a8bda560e2 Change 'cargo publish' test to only do 'cargo package' (#3750)
It was found the cargo-package-dry-run test would fail when version
numbers are bumped because crates were not actually published. So, for
example, deno_typescript 0.30.2 would not be able to find deno_core
0.30.2 because it had not yet been published (see #3744).
Ref #3712
2020-01-22 18:31:54 +01:00
Ry Dahl
92ceb8e323
Add github action for cargo publish (#3724) 2020-01-21 16:30:27 -05:00
Ry Dahl
d720309203
Auto cargo-publish on tags (#3704)
fix tools/cargo_publish.py
2020-01-17 17:53:13 -05:00
Ry Dahl
a478fd9f02 fix(ci) setup-python (#3687) 2020-01-16 18:08:40 +01:00
Bartek Iwańczuk
5856d21a2e
ci: bump Python to 2.7.17 for macOS (#3685) 2020-01-16 15:04:51 +01:00
Ry Dahl
5f1df038fb
Replace libdeno with rusty_v8 (#3556) 2020-01-05 09:19:29 -05:00
Waldir Pimenta
6dbf1c0eed Fix link in PR template (#3583) 2020-01-02 19:02:20 -05:00
Axetroy
3bb15ceaea Upgrades rust to 1.40.0 (#3542) 2019-12-23 09:59:44 -05:00
Andy Hayden
c93ae0b05a Fix release assets not being executable (#3480) 2019-12-11 13:48:53 +08:00
Christian Moritz
214b3eb29a fix depot_tools on macOS Catalina by upgrading it to 23247b9 (#3441)
Fixes: #3440
Fixes: #3153
2019-12-04 18:16:39 -05:00
Bartek Iwańczuk
34ed16ed3a run std test with cargo test (#3344)
Removes three CI jobs
2019-11-15 13:31:53 -05:00
Bartek Iwańczuk
38ffe8886d add RUST_BACKTRACE to ci 2019-11-14 09:42:49 -05:00
Ry Dahl
2cf0866ba3 upgrade: Rust 1.39.0 (#3286) 2019-11-07 11:21:45 -08:00
Andy Hayden
92b8674162 Exclude prebuilt from deno_src release (#3272) 2019-11-05 17:06:16 -05:00
Kang Huaishuai
36d4256f1c Upgrade github actions mac environment to macos-latest (#3250) 2019-10-31 19:36:22 -07:00
Ry Dahl
14713adca5
Rename Github Actions workflow (#3238) 2019-10-29 17:07:15 -04:00
Ry Dahl
38f01f73a4
Move prebuilt binaries to third_party (#3227) 2019-10-28 22:04:24 -04:00
Christian Moritz
1a86264232 Publish source tarballs for releases (#3203) 2019-10-25 15:29:17 -04:00
Bert Belder
2270abbc44
Use windows-2019 image in Github Actions (#3198) 2019-10-24 15:47:27 -07:00
Ry Dahl
1d8f3cc896
Remove old website (#3194)
Move manual.md and style_guide.md into //std so they can be accessed
from https://deno.land/std/manual.md

Code for new website is https://github.com/denoland/deno_website2

Co-authored-by: Christian Moritz <chrmoritz@gmail.com>
2019-10-24 16:14:05 -04:00
Kang Huaishuai
f96aaa802b Update GitHub Actions, powershell is default on windows (#3195)
https://github.blog/changelog/2019-10-17-github-actions-default-shell-on-windows-runners-is-changing-to-powershell/
2019-10-24 15:13:46 -04:00
Nick Stott
5a7dffe427 Reenable std tests that were disabled during merge (#3159) 2019-10-21 11:58:45 -04:00
Ryan Dahl
ddbfe9b5aa Add debug build to github actions
This disabled the tty_tests which seem to be very flaky with the debug
build.
2019-10-15 11:50:01 -04:00
Ryan Dahl
93f7f00c95
Run deno_std tests in github actions 2019-10-09 17:22:22 -04:00
Christian Moritz
3e02d7ddbc refactor benchmark results posting (#3076) 2019-10-06 11:18:15 -04:00
Christian Moritz
351d40e51c CI: don't build while linting and publish in forks (#3070) 2019-10-05 10:45:35 -04:00
Ryan Riginding
2a02107bba merge build.yml and lint.yml (#3066)
Fixes #3063
2019-10-05 03:17:18 -04:00
Bartek Iwańczuk
9049213867 add timeout to CI (#3061) 2019-10-04 14:50:29 -04:00
Ryan Dahl
d9acc5b17e
Remove travis and appveyor. Release with github actions (#3052)
Fixes #2979
2019-10-03 13:20:59 -04:00
Andy Hayden
f7bbd71e21 Update rust to 1.38.0 (#3030) 2019-10-03 09:16:06 -04:00
Ryan Dahl
8727d1c4f6
Run benchmarks from GH actions instead of Travis (#3049) 2019-10-02 19:00:46 -04:00
Ryan Dahl
56ac638d93
Remove test.py, use cargo test as test frontend (#2967)
Fixes #2933
2019-09-19 14:48:05 -04:00
Ryan Dahl
de19598d13
Run github actions on all pull requests (#2980) 2019-09-18 19:37:31 -04:00
Ryan Dahl
4a807f4225
First pass at github actions (#2966) 2019-09-18 17:23:27 -04:00
Ryan Dahl
a4dec944bc
web design (#1728) 2019-02-11 17:41:13 -05:00
Yoshiya Hinosawa
d26655371b fix: improve formatting (#1732) 2019-02-11 12:57:26 -05:00
Yoshiya Hinosawa
1502051453 Add read permission for format.ts (#1726) 2019-02-09 10:55:18 -05:00
bokuweb
3abaf9edb6 fix format command in contribution guide (#1712) 2019-02-08 11:32:26 -05:00
Kitson Kelly
81372e8267 Add item to CONTRIBUTING.md about needing tests
This adds requiring tests covering the change as a pre-req before raising a PR.
2019-01-31 22:50:28 -05:00
Yoshiya Hinosawa
f19622e768 Rewrite tools/format.py in deno (#1528)
Note: findFiles and findFilesWalk are borrowed from the previous
attempt of @pseudo-su (#1434)
2019-01-17 15:09:44 -05:00
Ryan Dahl
b5d7e38f9b Add Docs.md
Remove stuff from Roadmap that has been implemented.
2018-10-19 21:36:07 -04:00
Kitson Kelly
a327759971 Add CONTRIBUTING.md 2018-10-14 17:39:42 -04:00
Yoshiya Hinosawa
8020f5fc0b docs: add contributing guide 2018-09-09 12:08:40 -04:00