1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
Commit graph

233 commits

Author SHA1 Message Date
Ryan Dahl
958b374f09
upgrade serde_v8 and rusty_v8 (#12175)
* upgrade serde_v8 and rusty_v8

* rusty_v8 0.30.0

* cycle keys
2021-09-22 18:51:11 +02:00
Aaron O'Mullan
eddae41482
ci: experiment mac & windows debug builds (#11884)
Will be tweaked, but possibly have this "fastci" profile for further optimizations
2021-09-22 17:15:04 +02:00
Luca Casonato
3b30ba8031
chore: update rusty_v8 (#12026) 2021-09-13 15:33:20 +02:00
Yusuke Tanaka
87052927af
chore: upgrade Rust to 1.55.0 (#11965) 2021-09-09 21:15:21 -04:00
Craig Morten
930cb0afd8
chore(std/http): server module name migration (#11890) 2021-09-05 22:43:46 +02:00
Geoffrey Smith
40526a03dc
cleanup(.github/workflows): Typo in comments (#11868) 2021-08-29 23:39:27 +02:00
Jheyson Saavedra
fb135dc3e4
build: rename kind to job in ci config (#11699)
Co-authored-by: Jheyson Saavedra <jheysondev@users.noreply.github.com>
2021-08-14 13:28:22 +02:00
Bartek Iwańczuk
162ec192b7
upgrade: rusty_v8 0.26.0 (#11625) 2021-08-10 09:13:02 +02:00
Luca Casonato
3a7de8e40f
build: pin softprops/action-gh-release (#11622) 2021-08-10 09:12:25 +02:00
Elias Sjögreen
33c8d790c3
feat: ffi to replace plugins (#11152)
This commit removes implementation of "native plugins" and replaces
it with FFI API.

Effectively "Deno.openPlugin" API was replaced with "Deno.dlopen" API.
2021-08-06 23:28:10 +02:00
Yusuke Tanaka
8f00b5542c
chore: upgrade Rust to 1.54.0 (#11554) 2021-07-30 15:03:41 +02:00
Luca Casonato
31afd349d2
build: fix publishing of canaries (#11480) 2021-07-21 18:39:20 +02:00
Luca Casonato
e1d3c425c8
build: publish canary version file in seperate job (#11462) 2021-07-21 00:10:56 +02:00
Luca Casonato
51e0bfda3c
chore(runtime): deprecate Deno.copy (#11369) 2021-07-12 19:44:42 +02:00
Luca Casonato
ab079a8d63
chore: update crates (#11332) 2021-07-09 17:15:50 +02:00
Bert Belder
753fd1eacc
ci: avoid running man-db triggers when setting up sysroot (#11300) 2021-07-06 15:51:28 +02:00
Bert Belder
b7d0667a74
ci: fix typo 'CCFLAGs' to 'CFLAGS' (#11298) 2021-07-06 14:43:36 +02:00
Bartek Iwańczuk
da654fddff
chore: upgrade rusty_v8 and serde_v8 (#11233) 2021-07-02 22:59:33 +02:00
Bartek Iwańczuk
bce662d5bb
chore: upgrade rusty_v8 and serde_v8 (#11216) 2021-07-02 09:32:48 +02:00
Bert Belder
1a5984983f
ci: don't set DENO_CANARY when releasing, attempt 2 (#11214) 2021-07-01 23:48:53 +02:00
Luca Casonato
32b9aa5720
build: switch to wpt.fyi prod (#11201) 2021-07-01 15:44:44 +02:00
Bert Belder
622f9c6889
ci: don't set DENO_CANARY when releasing (#11181)
Fixes: #11179
2021-06-29 21:01:34 +00:00
Ryan Dahl
48f9df9aa2
upgrade: rusty_v8 0.23.0 (V8 9.2.230.12) (#11113) 2021-06-25 12:54:53 +02:00
Bert Belder
b7f875e010
ci: fix pushing benchmark results to gh-pages (#11095) 2021-06-23 23:54:25 +02:00
Bert Belder
e02403bb45
ci: run Linux release builds in sysroot with Ubuntu 18.04 and LLVM (#10920) 2021-06-23 19:36:05 +00:00
Bert Belder
6f8975ad78
ci: make it faster (#10920)
...by avoiding a full clone of crates.io index history.
2021-06-23 19:36:04 +00:00
Yusuke Tanaka
8031644e65
chore: upgrade Rust to 1.53.0 (#11021) 2021-06-17 15:56:30 -04:00
Luca Casonato
8e4a70c7e9
tests: get epochs/daily commit with ./wpt rev-list (#11002) 2021-06-16 14:19:44 +02:00
Luca Casonato
f48d66b2b0
tests: fix wpt epoch ci job (#10960) 2021-06-14 20:57:02 +02:00
Luca Casonato
d837445e44
build: add wpt epoch/daily run (#10937)
This adds a daily scheduled CI pipeline that runs WPT tests against
the most recent epochs/daily every night. Results are uploaded to
wpt.fyi.

WPTs are run on all supported platforms, on both stable and canary.
2021-06-14 13:48:57 +02:00
Luca Casonato
7b9c59fd71
tests: upload WPT reports to wpt.fyi (#10883) 2021-06-07 17:41:33 +02:00
Luca Casonato
f1deed41e7
tests: generate and upload wptreport.json (#10869)
These reports can be consumed by tools like `wptreport` or
https://wpt.fyi. The old style report could be removed in a future PR
when wpt.deno.land is updated.
2021-06-06 18:08:50 +02:00
Yoshiya Hinosawa
5a14827f9f
build: remove gnu tar installation (#10826) 2021-06-03 11:14:56 +02:00
Luca Casonato
b2a4c2e4f6
build: collect wpt results as json (#10823) 2021-06-03 01:12:28 +02:00
Kitson Kelly
8708d3c045
chore(lsp): provide test for lsp deadlock issue (#10679)
Resolves: #10587
2021-05-21 07:35:37 +10:00
Yoshiya Hinosawa
ba09ce0729
ci: fix 'skip save cache' step in windows CI (#10704) 2021-05-19 16:48:38 +02:00
Bert Belder
1efd66e398
ci: make rustc deny warnings on all platforms (#10672) 2021-05-17 23:11:14 +02:00
Bert Belder
ea83f18f90
ci: force enable incremental compilation (#10614)
Note that Rust 1.51.1 adds extra verification to avoid miscompiles, so it
is possible that this PR causes build failures on CI, in which case it
needs to be reverted.

See https://blog.rust-lang.org/2021/05/10/Rust-1.52.1).
2021-05-12 17:41:21 +02:00
Yusuke Tanaka
0d319161bc
chore: upgrade Rust to 1.52.1 (#10583) 2021-05-11 16:58:59 +02:00
Yoshiya Hinosawa
4f93cf9d75
ci: create cache always in main, skip saving cache in PRs (#10560) 2021-05-11 10:46:41 +09:00
Bartek Iwańczuk
98518f319d
chore: upgrade to Rust 1.52.0 (#10522) 2021-05-06 15:56:30 -04:00
Ryan Dahl
b9a136c868
Revert "ci: build only lib and bins (#10401)" (#10415) 2021-04-29 10:33:46 +09:00
Ryan Dahl
e63c533154
enable error-on-warning (#10410)
Only on linux and osx. Fixes one warning.
2021-04-28 15:10:44 -04:00
Yoshiya Hinosawa
48659c374d
ci: build only lib and bins (#10401)
Currently we specify --all-targets when building. It's equivalent of 
--lib --bins --tests --benches --examples, but in test release jobs,
we don't need to build everything. So this PR reduces build target to only 
--bin deno --bin test_server in build phase, and reduces test targets to 
--bins --lib --tests.

This skips the building of benches and examples in test release jobs.
2021-04-28 10:42:00 -04:00
Ryan Dahl
f7c298e297
Remove denort optimization (#10350)
denort is an optimization to "deno compile" to produce slightly smaller
output. It's a decent idea, but causes a lot of negative side-effects:

- Deno's link time is a source of constant agony both locally and in CI,
  denort doubles link time.
- The release process is a long and arduous undertaking with many manual
  steps. denort necessitates an additional manual zip + upload from M1
  apple computers.
- The "deno compile" interface is complicated with the "--lite" option.
  This is confusing for uses ("why wouldn't you want lite?").

The benefits of this feature do not outweigh the negatives. We must find
a different approach to optimizing "deno compile" output.
2021-04-26 13:28:38 -04:00
Ryan Dahl
9c3da280e0
remove #![deny(warnings)] (#10376)
Prefer RUSTFLAGS="-D warnings" to prevent warnings, but cannot 
enable yet due to #10378.
2021-04-26 10:10:57 -04:00
Ryan Dahl
17d35fdd7e
ci: only run WPT on linux (#10351) 2021-04-24 12:52:44 -04:00
Ryan Dahl
c5fda85ef0
Key CI cache on build profile (#10333)
We are aware that "lint debug ubuntu" and "test debug ubuntu" are sharing
caches - and that it is not ideal. Likely the lint cache will be written
first, and test-debug will have to build extra. However neither are the
bottleneck now.

We proceed on the assumption that we're hitting the 5 GB cache limit on a
single PR, inducing a forever-rolling behavior.

If "test debug ubuntu" becomes the bottleneck in the future we will
revisit.
2021-04-23 12:54:23 -04:00
Ryan Dahl
2400ecbe16
Use ubuntu-latest-xl on more CI jobs (#10322) 2021-04-23 12:11:23 -04:00
Yoshiya Hinosawa
b3013c1f95
ci: separate cache for cargo home and build output (#10306) 2021-04-22 07:17:00 -04:00
Ryan Dahl
a7b4873275
chore: clean cache (#10290) 2021-04-22 08:48:41 +09:00
Ryan Dahl
ffc01f9fc5
build: use Node 16 in CI (#10270) 2021-04-21 11:25:14 +02:00
Bartek Iwańczuk
0cc0196576
chore: upgrade deno_doc, deno_lint (#10268) 2021-04-20 19:37:27 +02:00
Bert Belder
36f147364a
upgrade: rusty_v8 0.22.1 (V8 9.1.269.5) (#10159) 2021-04-13 08:47:24 +00:00
Bert Belder
b9f758d3ad upgrade: rusty_v8 0.22.0 (V8 9.1.269.2) (#10152) 2021-04-13 02:54:36 +02:00
Bert Belder
06b5959eed
ci: store last-modified timestamps in Github Actions cache (#10110) 2021-04-11 20:57:17 +00:00
Bert Belder
ae95da5d10
Revert "use incremental build in ci (#10053)" (#10110)
This reverts commit fd65e6de3d.
2021-04-11 20:57:16 +00:00
Yoshiya Hinosawa
94c666fc45
ci: do not include branch name in cache key (#10081) 2021-04-09 14:43:33 +09:00
Yoshiya Hinosawa
3168fa4ee7
ci: add gnu tar path (#10075) 2021-04-09 10:24:13 +09:00
Ryan Dahl
b30ac9c5cf
Clear CI cache (#10071) 2021-04-08 15:00:53 -04:00
Yoshiya Hinosawa
3dd525d767
ci: use gnu tar on macos (#10069) 2021-04-08 13:37:59 -04:00
Yoshiya Hinosawa
c4b21fbff1
ci: fallback to main's cache (#10068) 2021-04-08 10:56:43 -04:00
Casper Beyer
d2e500e1cf
ci: use repository and ref as part of the cache key (#10067) 2021-04-08 20:52:01 +09:00
Yoshiya Hinosawa
fd65e6de3d
use incremental build in ci (#10053) 2021-04-07 10:17:55 -04:00
Yusuke Tanaka
e7954413e1
upgrade: Rust 1.51.0 (#9895) 2021-03-25 19:17:37 +01:00
Ryan Dahl
d6d5ced1ab
build: Remove other unrelated CI build things (#9875) 2021-03-24 14:48:17 +01:00
Bartek Iwańczuk
137744d19c
build: disable CI cache (#9872) 2021-03-23 16:47:20 +01:00
Bartek Iwańczuk
f50ed4e281
v1.8.2 2021-03-21 21:12:09 +01:00
Bartek Iwańczuk
c08284ab9d
chore: release crates (#9847) 2021-03-21 16:10:08 +01:00
Ryan Dahl
a22aadbe50
ci: don't store $CARGO_HOME in Github Actions cache (#9779)
There currently is a problem related to Github Actions in general or the
'actions-rs/cargo' action in particular, which causes cargo to be unable
to find the 'serde_derive' crate when the cargo home dir has been
restored from cache.

This issue is also being reported by others, e.g. at
actions-rs/cargo#111.
2021-03-13 15:25:26 -05:00
Ryan Dahl
ff96c95bbb
ci: Remove sccache, use better cargo cache (#9687) 2021-03-09 14:15:23 -05:00
Divy Srivastava
afbae1c99d
chore(ci): move fmt before lint (#9695) 2021-03-05 13:36:00 +01:00
Ryan Dahl
af7e02124f
Re-enable sccache (#9670) 2021-03-03 14:20:35 -05:00
Luca Casonato
4f80587d26
chore: rename default branch to main (#9503) 2021-02-19 15:58:19 +01:00
Ryan Dahl
ca55a5d36e
linux release build should use ubuntu-18.04 (#9485) 2021-02-12 16:10:24 -05:00
Kitson Kelly
54e53cc9ea
chore: Update to Rust 1.50.0 (#9479) 2021-02-12 21:08:36 +11:00
youngjuning
47b3e4bada
ci: bump Deno version (#9449)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-02-09 16:08:10 +01:00
Bartek Iwańczuk
647f11b3ac
ci: fix release process (#9418) 2021-02-05 20:33:21 +01:00
Casper Beyer
6abf126c2a
chore: remove std directory (#9361)
This removes the std folder from the tree.

Various parts of the tests are pretty tightly dependent 
on std (47 direct imports and 75 indirect imports, not 
counting the cli tests that use them as fixtures) so I've 
added std as a submodule for now.
2021-02-02 12:05:46 +01:00
Ryan Dahl
46d5843f75
cargo publish is done manually now (#9321) 2021-01-31 10:05:45 -05:00
Luca Casonato
2638aa03a5
tests: new typescript WPT runner (#9269) 2021-01-27 15:06:18 +01:00
Luca Casonato
e0eb111e3e
Revert "tests: enable wpt for url (#9046)" (#9264)
This reverts commit 66e99d349b.
2021-01-25 16:02:03 +01:00
Luca Casonato
66e99d349b
tests: enable wpt for url (#9046) 2021-01-24 22:29:36 +01:00
Luca Casonato
b358426eea
build: upload release zips to dl.deno.land (#9090) 2021-01-14 17:08:30 +01:00
Luca Casonato
18b3150401
build: disable cafile_* tests and use slow runners (#9089) 2021-01-13 16:48:33 +01:00
Luca Casonato
a44349dfdf
feat: denort binary (#9041)
This commit adds new binary target called "denort".

It is a "lite" version of "deno" binary that can only execute
code embedded inside the binary itself.

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-01-08 03:08:51 +01:00
Ryan Dahl
0a509152d1
Revert "ci: don't install python (#8961)" (#8963)
This reverts commit 5937ee3fba.
2021-01-02 23:19:46 -05:00
Ryan Dahl
5937ee3fba
ci: don't install python (#8961) 2021-01-02 10:53:43 -05:00
Bartek Iwańczuk
41a4a34aee
upgrade: Rust 1.49.0 (#8955) 2021-01-02 13:52:42 +01:00
Zheyu Zhang
bfe1b05381
ci: setup latest version of Node (#8888) 2020-12-26 08:02:37 -05:00
Bartek Iwańczuk
e58147b62c
build: remove cargo publish --dry-run (#8694) 2020-12-09 21:17:51 +01:00
Ryan Dahl
b6dd850f71
build: fix doctests, run cargo publish --dry-run (#8689)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-12-09 17:02:07 +01:00
Luca Casonato
95ccc1a52f
build: upload canaries before tests (#8585) 2020-12-02 20:06:19 +01:00
Bartek Iwańczuk
097babb6fb
build: publish only "deno" crate on tags (#8535)
This commit updates CI script to publish only "deno"
crate on tags.

Following crates are not automatically published anymore:
- deno_core
- deno_web
- deno_fetch
- deno_crypto

Before this commit creating a new release required to bump
version on all above crates even though in practice they
rarely change.
2020-11-28 21:39:04 +01:00
crowlKats
a08d2eee2b
add canary versioning (#8480) 2020-11-25 05:30:14 -05:00
Luca Casonato
46850918e7
build: upload canary releases to GCS (#8441) 2020-11-23 18:06:47 +01:00
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