Boshen
70a5684dda
ci: remove unneeded workflow_run trigger from release_cli / release_napi
2023-05-04 15:31:24 +08:00
Boshen
7148cb8c00
ci: make codecov informational
2023-04-28 11:02:30 +08:00
Boshen
59ff1fb289
HIR ( #319 )
2023-04-28 10:33:26 +08:00
Boshen
2cd04811d1
feat(hir): copy AST over to HIR ( #316 )
2023-04-25 19:19:36 +08:00
Boshen
40bb6fcd2a
chore: ignore oxc_wasm from codecov
2023-04-24 22:41:27 +08:00
Boshen
97189c4e4c
ci: trigger release_cli / release_napi only when package.json changes
2023-04-22 23:23:55 +08:00
Boshen
7aca953635
ci: add cargo deny
2023-04-22 22:35:19 +08:00
Boshen
c6d70ba2a8
ci: run benchmark when Cargo.lock changes
2023-04-22 22:10:05 +08:00
Boshen
e93c79ab5b
ci: only run cargo udeps if Cargo.lock changes
2023-04-22 21:25:27 +08:00
Boshen
0918c21061
ci: refactor ci.yml
2023-04-22 21:06:03 +08:00
Boshen
40f6341c87
ci: clean up release workflows
2023-04-22 14:55:15 +08:00
Boshen
d49195f7f2
feat: napi ( #302 )
...
* chore: only ignore js files from the root
* feat: napi
2023-04-22 14:41:45 +08:00
Boshen
c87ba5df23
ci: remove needs: cache from ci
...
the cache is unused 99% of the time so it's better to just run
everything instead of waiting for the cache
2023-04-20 21:21:48 +08:00
Boshen
4a30ed192b
ci: turn off codecov/patch
2023-04-19 23:48:38 +08:00
Boshen
21d4954071
Website ( #281 )
...
feat(site): init website
Co-authored-by: Gwen <guan_wy@foxmail.com>
2023-04-19 16:37:44 +08:00
Boshen
e5ef4760ee
ci: ignore main.rs, examples and fuzzer in codecov
2023-04-18 21:05:51 +08:00
Boshen
b6598a47d4
ci: run codecov on PR ( #294 )
2023-04-18 17:15:23 +08:00
Boshen
bf65843b71
ci: fix codecov.yml
2023-04-17 18:25:48 +08:00
Boshen
bee9da4ca1
chore: fix broken codecov.yml
2023-04-17 16:57:53 +08:00
Boshen
05309342ed
chore: remove cache.yml
2023-04-17 16:51:30 +08:00
Boshen
ec01a295a8
chore: do not append -- to cargo lint
2023-04-17 16:38:09 +08:00
Boshen
ba76aa8b9a
ci: cache test files
2023-04-17 15:53:48 +08:00
Boshen
eab0d5be16
ci: cache all-targets
2023-04-17 15:30:28 +08:00
Boshen
9c673fa63a
ci: debug rustup action
2023-04-17 15:23:19 +08:00
Boshen
f4921bb6f5
ci: fine tune caching strategy
2023-04-17 14:43:07 +08:00
Boshen
7b9bd48ad2
ci: separate out cargo check and cargo clippy
2023-04-17 14:25:47 +08:00
Boshen
4f5cde78a3
ci: build cache on all platforms
2023-04-17 13:48:05 +08:00
Boshen
07a633615a
ci: trigger ci on main
2023-04-17 13:27:18 +08:00
Boshen
e92f56fc9a
ci: change save-if to github.ref_name for rustup/action
2023-04-17 13:18:52 +08:00
Boshen
19d341c0ab
ci: remove CARGO_TERM_QUIET as it interferes with rust cache
2023-04-17 13:12:26 +08:00
Boshen
6c8f0449a3
ci: cache factory
2023-04-17 11:47:47 +08:00
Boshen
4ced43ea54
ci: do not fail-fast in matrix test
2023-04-16 23:37:04 +08:00
Boshen
7376960ad7
chore: make codecov info informational
2023-04-16 22:39:57 +08:00
Boshen
87400917e1
chore: change cargo lint to deny all warnings
2023-04-16 21:32:00 +08:00
Boshen
90b69cf220
ci: add deploy website work flow
2023-04-15 15:20:59 +08:00
Boshen
427b2093c2
ci: change coverage to run on main branch
2023-04-15 14:51:07 +08:00
Boshen
9cf24cea7d
ci(benchmark): cache benchmark files with libs.txt
2023-04-15 14:38:02 +08:00
Boshen
917a001ca7
chore: do not run --release for codecov because things get optimized out
2023-04-15 14:31:52 +08:00
Boshen
f1dcc5429e
refactor(tasks): clean up code around code coverage
2023-04-15 13:53:57 +08:00
Boshen
012516a777
ci: read cache from main branch in codecov
2023-04-11 16:06:58 +08:00
Boshen
62bb985434
ci: use cargo-llvm-cov for code coverage ( #274 )
2023-04-11 16:03:07 +08:00
Boshen
8b8355d04a
chore: note about broken cargo-unused-features
2023-04-05 22:22:59 +08:00
Boshen
6e356788b3
ci: fix wording
2023-04-05 12:27:22 +08:00
Boshen
230c7c8294
ci: install minimal profile ( #256 )
...
ci: refactor rustup action
2023-04-05 12:26:37 +08:00
Boshen
c35fb19f4f
ci: install minimal profile ( #253 )
...
rustup show always install the profiles set in rust-toolchain.toml,
I added an action to remove this line so we can install components selectively.
This should reduce Rust installation time, which can be significant on Windows.
2023-04-05 11:50:30 +08:00
Boshen
7fd213441c
ci: cache benchmark files ( #250 )
2023-04-04 17:18:58 +08:00
Boshen
d6b45c1a57
ci: use another step for uploading code coverage
2023-04-02 11:00:16 +08:00
Boshen
ba318c93a2
ci: try fix codecov
2023-04-02 01:09:32 +08:00
Boshen
adef772d6c
refactor: clean up code around code coverage
2023-04-01 15:59:42 +08:00
Boshen
6347dac8d6
ci: pass CODECOV_TOKEN to committed-action
2023-04-01 00:54:37 +08:00
Boshen
5398cb0ba1
ci: rename check.yml to ci.yml
2023-03-31 23:38:02 +08:00
Boshen
1a6f508bb9
ci: add codecov
2023-03-31 22:59:14 +08:00
Boshen
4ac040e63f
ci: remove deploying to gh-pages. we have docs.rs now
2023-03-31 15:46:12 +08:00
Boshen
2964d83fc9
chore: add crates.io and docs.rs badge
2023-03-31 15:26:47 +08:00
Boshen
f51c8135a3
ci: add cargo-llvm-lines ( #226 )
2023-03-30 10:20:36 +08:00
Boshen
f313aab48f
ci: rename yaml to yml
2023-03-29 22:07:22 +08:00
Boshen
282f19d27c
ci: separate test build and test run
...
https://matklad.github.io/2021/09/04/fast-rust-builds.html#CI-Workflow
2023-03-29 15:30:09 +08:00
Boshen
d4af69930c
ci: use faster cargo-nextest to run tests
2023-03-26 13:49:40 +08:00
Boshen
95a2382860
ci: use latest runners
2023-03-26 13:46:33 +08:00
Boshen
65387809d8
ci: change spell check title
2023-03-26 13:38:55 +08:00
Boshen
5d0bbe9198
ci: fix cargo-udeps failure
2023-03-26 13:34:39 +08:00
Boshen
cb7c0ec007
Create FUNDING.yml
2023-03-24 22:47:05 -07:00
Boshen
5d7bab92b0
ci: use cargo-binstall to install cargo-unused-features
2023-03-22 13:50:10 +08:00
Boshen
19d132429e
ci: use cargo-binstall to install cargo-udeps
2023-03-22 13:36:00 +08:00
Boshen
98f251d597
ci: use cargo-binstal to speed up critcmp installation
2023-03-21 22:42:40 +08:00
Boshen
46ddf5eb05
ci: combine benchmark results into a single report ( #182 )
2023-03-14 19:04:31 +08:00
Boshen
605684f4c0
fix: fix clippy warnings
2023-03-12 21:53:08 +08:00
Boshen
305a377892
ci: remove build-std from release, this is too complicated
2023-03-12 14:16:46 +08:00
Boshen
a68acb2afb
ci: release test against remote version
2023-03-12 14:04:27 +08:00
Boshen
0d9fda716b
ci: build nightly rust-src for release
2023-03-12 13:50:25 +08:00
Boshen
a6cb5fc579
ci: add -detect_leaks=0 to fuzzer
2023-03-12 10:52:50 +08:00
Boshen
1b93d83ff7
chore(oxc_parser): setup fuzzer
...
closes #155
2023-03-12 00:44:42 +08:00
Boshen
9d25f8cc26
ci: add typos
2023-03-11 23:38:56 +08:00
Boshen
2045a326be
ci: update cargo bloat and add cargo-unused ( #158 )
...
* ci: try strip symbols from std
* ci: add cargo-unused
* ci(bloat): fix the command
stripping debug symbol from std is not working with nightly + target
2023-03-08 22:16:38 +08:00
Boshen
1651ffeabc
ci: disable macos benchmark, too unstable
2023-03-08 22:05:04 +08:00
Boshen
8dfb50642d
ci: release with debug symbols stripped from std
2023-03-05 22:33:14 +08:00
Boshen
5faae992b2
ci: add cargo-unused
2023-03-05 22:29:26 +08:00
Boshen
43467b19e9
ci: write benchmark action summary
2023-03-05 04:51:00 -08:00
Boshen
d1bfe9ab16
ci: add summary to bloat command ( #132 )
2023-03-05 04:12:05 -08:00
Boshen
4a8abca2d1
ci: fix bloat command
2023-03-05 16:05:47 +08:00
Boshen
57b3fbf899
ci: fix cargo bloat --profile
2023-03-05 16:03:00 +08:00
Boshen
1031755fdb
chore(rust): add release-debug mode
2023-03-05 15:57:53 +08:00
Boshen
16b99e7205
ci: make cargo print less logs
2023-03-05 15:51:51 +08:00
Boshen
dee5d00ae2
ci: add manual cargo bloat action
2023-03-05 15:41:54 +08:00
Boshen
7db95f0b33
refactor(ci): remove useless submodules: false from actions/checkout
2023-03-05 15:37:07 +08:00
Boshen
7d3ce8b125
feat(benchmark): add semantic builder to benchmark ( #129 )
2023-03-04 23:09:19 -08:00
Boshen
4c4cb4d526
ci: setup npm publish
2023-03-02 06:55:56 -08:00
Boshen
2d09c57ce8
ci: deny all warnings
2023-03-02 00:44:03 -08:00
Boshen
a15b57a9cf
ci: remove permissions override, I changed it in the GitHub settings
2023-03-01 20:47:14 +08:00
Boshen
abc368a203
ci: fix zip name
2023-03-01 13:58:52 +08:00
Boshen
5e451ff2e4
ci: fix zip name
2023-03-01 13:44:14 +08:00
Boshen
10bd3d518c
ci: attempt to fix upload permissions
2023-03-01 11:32:41 +08:00
Boshen
4f78d69e0e
chore(rust): remove symbols in release profile
2023-03-01 00:33:24 +08:00
Boshen
bd4730ccfc
ci: add back binary permissions after download in release_cli
2023-03-01 00:32:25 +08:00
Boshen
5f651df156
ci: add write permissions to release_cli.yaml
2023-02-28 23:34:18 +08:00
Boshen
825e27178c
ci: add release_cli.yaml with build binary and upload artifact steps
2023-02-28 07:21:03 -08:00
Boshen
4f36f7d2ef
ci: attempt to fix miri with "-Zmiri-disable-isolation"
2023-02-26 00:49:19 +08:00
Boshen
aac51de446
ci: add miri
2023-02-25 17:09:25 +08:00
Boshen
1cd2c14d78
ci: fix benchmark output
2023-02-25 16:58:02 +08:00
Boshen
9098962ec3
ci: cancel previous job runs with concurrency
2023-02-25 16:57:31 +08:00
Boshen
e827754aad
ci: try fix benchmark comment
2023-02-25 11:58:57 +08:00
Boshen
80afce5cd3
ci: attempt to fix some benchmark issues
2023-02-25 11:27:04 +08:00
Boshen
50faa7be1d
ci: setup benchmark matrix
2023-02-24 22:54:05 +08:00
Boshen
66c713f4f4
ci: run the parser benchmark conditionally
2023-02-24 22:54:05 +08:00
Boshen
3875a6ce1d
ci: fix path ignore
2023-02-24 13:36:43 +08:00
Boshen
cbcf68c88a
ci: ignore markdown file changes
2023-02-24 13:34:09 +08:00
Boshen
d773187f43
ci: skip making comments from forks in benchmark
...
source: https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#restrictions-on-repository-forks
2023-02-23 21:37:08 +08:00
Boshen
3fee6a5184
ci: fix benchmark not fetching on pr commit
2023-02-13 10:01:31 +08:00
Boshen
9de386ecf7
ci: update
2023-02-12 20:27:23 +08:00
Boshen
01ff8eed08
ci: remove unused github_token from benchmark
2023-02-12 20:21:24 +08:00
Boshen
738f52cd0b
ci: fix benchmark.yaml
2023-02-12 20:04:55 +08:00
Boshen
792a0b065a
ci: only run benchmark on 'crates/**' change
2023-02-12 14:32:40 +08:00
Boshen
6a8d9da75d
ci: add write permission to benchmark
2023-02-12 10:36:48 +08:00
Boshen
ad36a0ebb2
ci: remove useless CARGO_UNSTABLE_SPARSE_REGISTRY env variable
2023-02-12 10:04:47 +08:00
Boshen
35db916db7
ci: move --locked from cargo check
2023-02-12 10:00:58 +08:00
Boshen
1410155a0c
ci: fix invalid benchmark.yaml
2023-02-12 09:53:49 +08:00
Boshen
42932334b2
ci: add pr benchmark workflow
2023-02-12 09:35:27 +08:00
Boshen
e964179490
ci: use cargo command instead of dtolnay/rust-toolchain
2023-02-11 21:17:56 +08:00
Boshen
6df31b0c2c
ci: run on pull_request
2023-02-11 16:34:53 +08:00
Boshen
9c91398015
ci: use dtolnay/rust-toolchain
2023-02-11 14:31:59 +08:00
Boshen
c2c78c3a33
ci: add write permissions for publishing docs
2023-02-11 14:23:57 +08:00
Boshen
a3bfa2222e
ci: update deploy gh action name
2023-02-11 14:10:58 +08:00
Boshen
d25cdc8cc2
ci: add github workflow for main branch
2023-02-11 13:56:47 +08:00