David Sherret
e20bd85b99
ci: don't run wpt tests on debug ( #18688 )
2023-04-18 17:41:51 +02:00
David Sherret
dc37f414ee
ci: use non-XL runners more ( #18675 )
...
![image](https://user-images.githubusercontent.com/1609021/231593822-b9d7c9db-4416-4735-bd89-f28a260607f1.png )
Non-xl runners are faster than the linux xl job, so let's use them for
now
Closes #17103
2023-04-18 17:41:50 +02:00
David Sherret
3491e3e04e
ci: do not run build job on draft prs ( #18634 )
...
We had a PR land that didn't actually pass the steps because it passed
on a draft pr. This prevents running the "build" job on draft prs.
2023-04-12 15:52:07 +02:00
Divy Srivastava
02584481ee
ci: update to Ubuntu 22.04 runners for all workflows ( #18526 )
2023-04-01 17:34:08 -04:00
David Sherret
e84f80405b
ci: fix main ( #18420 )
2023-03-31 11:43:18 -06:00
David Sherret
a9e53df573
chore: fix located_script_name test ( #18418 )
...
Closes #18417
2023-03-31 11:43:18 -06:00
David Sherret
049982c332
ci: bump deno version used in release scripts ( #18353 )
2023-03-22 18:19:18 +00:00
David Sherret
f603ebba77
chore(ci): save a cargo cache specifically for linting ( #18219 )
2023-03-16 13:42:31 -04:00
David Sherret
82ee73d795
chore(ci): cache test debug ubuntu-22.04-xl build ( #18216 )
2023-03-15 21:47:15 -04:00
David Sherret
1c285ac214
chore(ci): fix ci to restore the cache ( #18215 )
2023-03-15 22:03:07 +00:00
David Sherret
6f9c0a9b7a
chore(ci): escape quotes in "Lint PR title" step ( #18200 )
2023-03-14 23:55:04 -04:00
Divy Srivastava
485e12062c
ci: update to Ubuntu-22.04-XL runners ( #18181 )
...
Updates CI to use ubuntu-22.04-xl runners. A change to sysroot setup
was necessary that links `libdl.so.2` and `libdl.a` that are no longer
present on ubuntu-22.04.
---------
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-03-14 22:12:33 +05:30
David Sherret
b9d2ac32d5
chore(ci): verify the PR title as part of linting ( #18163 )
...
This verifies the PR title as part of the lint step.
2023-03-13 18:59:13 +00:00
Ryan Dahl
4c2aeb2502
Update code-of-conduct email ( #18162 )
2023-03-13 17:14:06 +00:00
Filip Skokan
92c388761a
wpt: only tag daily runs as master ( #18155 )
...
This PR updates the WPT upload script so that it only labels runs that
come from the daily WPT job as "master".
This is so that only the daily synchronized runs get selected when
viewing dashboards such as
[this](https://wpt.fyi/results/?label=master&label=experimental&product=deno&product=node.js&product=chrome&product=edge&product=firefox&product=safari&aligned&view=subtest&q=deno%3A%21missing ).
2023-03-13 13:24:16 +01:00
David Sherret
a7a804919d
chore(ci): update other workflows to use cargo-toolchain.toml ( #18109 )
...
I accidentally missed these in #18104
2023-03-10 11:55:51 +01:00
David Sherret
0da193882e
chore(ci): ensure Rust toolchain installation is based on rust-toolchain.toml ( #18104 )
...
It seems like `dtolnay/rust-toolchain` does not want to support
rust-toolchain.toml unfortunately and we had thought it did.
2023-03-09 17:01:41 -05:00
Filip Skokan
64503fabd8
test(wpt): implement process timeout, fix expectations update, and more... ( #17892 )
...
- relands #17872
- updates the timeouts to be re-configurable just for CI
- fixes `./tools/wpt.ts update`
- adds option not "ignore" during, applied to wpt epoch runs only
2023-03-02 23:05:17 +01:00
David Sherret
f5840bdcd3
chore: upgrade to Rust 1.67 ( #17548 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-01-27 10:43:16 -05:00
Spencer Comfort
87c2493855
chore(ci): update python to 3.11 ( #17530 )
2023-01-26 16:52:32 +05:30
David Sherret
e09d298a4a
chore(ci): use windows-2022 runner on skipped release job on PRs ( #17398 )
2023-01-13 19:06:30 +00:00
David Sherret
377f593273
chore: forward 1.29.3 release back to main ( #17401 )
2023-01-13 13:36:51 -05:00
David Sherret
5707a958ac
chore(ci): try to make sysroot step more reliable ( #17383 )
...
Main is failing a lot because of:
```
Err:8 http://azure.archive.ubuntu.com/ubuntu focal-updates/main amd64 debootstrap all 1.0.118ubuntu1.8
Connection failed [IP: 40.81.13.82 80]
Fetched 44.1 MB in 60s (734 kB/s)
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/d/debootstrap/debootstrap_1.0.118ubuntu1.8_all.deb Connection failed [IP: 40.81.13.82 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
```
2023-01-12 21:35:25 -05:00
David Sherret
5a84ecf0cd
chore(ci): only run doc tests on linux ( #17379 )
...
Doc tests were observed to take over 100s on the Mac CI in one instance.
2023-01-12 19:56:19 -05:00
David Sherret
0ae83847f4
chore(ci): skip running the benchmarks on a PR except when a label is added ( #17377 )
2023-01-12 15:45:41 -05:00
David Sherret
ff871e6264
chore(ci): fix canary publish on main ( #17374 )
...
Ref #17358
2023-01-12 17:53:47 +00:00
David Sherret
3713a10b64
chore(ci): use mtime cache for fastci ( #17373 )
2023-01-12 12:07:37 -05:00
David Sherret
120bc5450f
chore(ci): do not clone submodule ./test_util/wpt unnecessarily ( #17372 )
2023-01-12 11:22:38 -05:00
David Sherret
dabcdf2324
chore(ci): only install node for the benchmarks ( #17371 )
2023-01-12 10:49:46 -05:00
Bartek Iwańczuk
1776dca6c7
ci: update Windows runner, update Google Cloud integration, update Node ( #17358 )
...
This commit rolls up following PRs into a single one:
- https://github.com/denoland/deno/pull/16672
- https://github.com/denoland/deno/pull/16674
- https://github.com/denoland/deno/pull/16972
Generation script was updated to take into account these changes.
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Geert-Jan Zwiers <geertjanzwiers@protonmail.com>
Co-authored-by: David Sherret <dsherret@gmail.com>
2023-01-12 16:19:35 +01:00
David Sherret
9d54765f3e
chore(ci): skip non-ubuntu test release jobs on PRs ( #17353 )
2023-01-11 19:49:18 -05:00
Asher Gomez
cc4bc2c01c
fix(ci): use Node 18 ( #17355 )
2023-01-11 18:30:38 -05:00
David Sherret
b0eaa0ba70
chore(ci): save cache on main at end of workflow ( #17354 )
...
Seems like our caching was totally broken. We need to save the cache
after building and not before.
```
Warning: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.
Warning: Cache save failed.
```
2023-01-11 22:21:02 +01:00
David Sherret
6ee5563f68
chore(ci): do not run CI on draft PRs unless explicitly run via commit message ( #17350 )
...
This will help us reduce CI time during development. The CI can be
explicitly run on draft PRs by adding `[ci]` to the commit message.
2023-01-11 18:44:11 +00:00
David Sherret
e26fc195ef
chore(ci): checkout less submodules based on job ( #17343 )
...
Co-authored-by: Luca Casonato <lucacasonato@users.noreply.github.com>
2023-01-11 08:23:08 -05:00
David Sherret
e246f06cfb
chore(ci): ci refactor - Part 1 - Generate ci yaml by js ( #17335 )
2023-01-10 19:16:11 -05:00
Asher Gomez
e010eb69c2
chore(CI): update to actions/cache@v3
( #17201 )
2023-01-04 15:05:38 +09:00
David Sherret
10e4b2e140
chore: update copyright year to 2023 ( #17247 )
...
Yearly tradition of creating extra noise in git.
2023-01-02 21:00:42 +00:00
Bartek Iwańczuk
7526bbc584
ci: update release action ( #17034 )
2022-12-13 15:59:21 +01:00
David Sherret
5e1113ec77
chore: move/remove some repo top level files ( #16951 )
2022-12-05 17:30:58 -05:00
Bartek Iwańczuk
14904f6a2c
ci: increase timeout to 120 minutes ( #16764 )
2022-11-22 21:03:36 +01:00
Bartek Iwańczuk
fedeea6dde
chore: remove stale bot ( #16718 )
2022-11-20 18:54:35 +01:00
Aaron O'Mullan
238590aa9f
chore: use Rust 1.65.0 ( #16688 )
2022-11-18 02:59:10 +01:00
David Sherret
15db936348
chore: fix post_publish workflow trigger ( #16619 )
2022-11-13 18:05:08 +01:00
David Sherret
f81ad0b7c2
fix: update latest release version after github release publish ( #16603 )
2022-11-13 10:35:03 -05:00
Abdul Rauf
23a04b15c1
chore(ci): update github actions ( #16534 )
2022-11-06 21:26:21 +05:30
Divy Srivastava
57f17bd3e6
enable bench bot ( #16339 )
...
Run benchmarks on a bare metal server. The bot is a webhook on Deno
deploy which can provision a spot instance on Equinix Metal. The machine
type is `m3.small.x86` running a Ubuntu 22.04.
Commands:
`+bench` - Provision and schedule benchmarks for this PR.
`+bench status <id>` - Get current status of the metal instance.
The bot source is here: https://github.com/denoland/bench_bot
2022-10-19 08:03:28 +05:30
Divy Srivastava
cd1c63ad71
fix(build): don't export all symbols to dynamic symbol table ( #16171 )
...
Currently, we use `-rdynamic` for exporting Node API symbols to the
symbol table. `-rdynamic` will export *all* symbols, that means
previously unused functions will not be optimized away introducing a lot
of binary bloat.
This patch uses `-exported_symbol` and `--export-dynamic-symbol` link
flags (not as universal as `-rdynamic`) to only mark Node API symbols to
be put in the dynamic symbol table.
2022-10-06 21:20:00 +05:30
Mathias Lafeldt
1848c7e361
Fix: Honor linter rules in CI and locally ( #15492 )
...
RUSTFLAGS take precedence over `target.<triple>.rustflags`. Therefore,
setting the env var globally in CI would always override whatever linter
rules are allowed or denied in .cargo/config.toml.
With this change, we ensure that problems are detected both in CI and
locally, using either cargo clippy or lint.js.
2022-08-19 08:17:18 -04:00
David Sherret
af618e3b8f
chore: make the start_release workflow go faster ( #15416 )
2022-08-08 19:31:45 -04:00