swc/scripts/github/tests.yml

56 lines
1.9 KiB
YAML
Raw Normal View History

2022-02-24 09:06:03 +03:00
os:
windows:
- swc
- swc_cli
- swc_common
- swc_css_codegen
- swc_css_parser
- swc_ecma_codegen
- swc_ecma_loader
- swc_ecma_parser
- swc_ecma_preset_env
- swc_ecma_transforms_module
- swc_ecma_transforms_testing
- swc_html_codegen
- swc_html_parser
2022-02-24 09:06:03 +03:00
- swc_node_bundler
- swc_plugin
- swc_plugin_runner
- swc_plugin_testing
macos:
- swc_plugin_runner
2022-09-06 19:47:06 +03:00
# host:
# swc: ubuntu-large
2022-02-24 09:06:03 +03:00
check:
swc:
# plugin feature is verified by other tasks
- "cargo hack check --feature-powerset --no-dev-deps --exclude-features debug --exclude-features plugin --exclude-features plugin_transform_schema_v1 --exclude-features plugin_transform_schema_vtest --exclude-features plugin_transform_host_js"
2022-02-24 09:06:03 +03:00
swc_bundler:
2022-09-06 19:47:06 +03:00
- "cargo hack check --feature-powerset --no-dev-deps"
2022-02-24 09:06:03 +03:00
swc_common:
- "cargo hack check --feature-powerset --no-dev-deps --exclude-features plugin_transform_schema_vtest --exclude-features __plugin --exclude-features __plugin_mode --exclude-features __plugin_rt --exclude-features __rkyv --exclude-features rkyv-impl"
2022-02-24 09:06:03 +03:00
swc_ecma_ast:
- "cargo hack check --feature-powerset --no-dev-deps --exclude-features __rkyv"
2022-02-24 09:06:03 +03:00
swc_ecma_loader:
2022-09-06 19:47:06 +03:00
- "cargo hack check --feature-powerset --no-dev-deps"
2022-02-24 09:06:03 +03:00
swc_ecma_transforms:
2022-09-06 19:47:06 +03:00
- "cargo hack check --feature-powerset --no-dev-deps"
2022-02-24 09:06:03 +03:00
swc_ecma_transforms_base:
2022-09-06 19:47:06 +03:00
- "cargo hack check --feature-powerset --no-dev-deps"
2022-02-24 09:06:03 +03:00
swc_ecma_transforms_compat:
2022-09-06 19:47:06 +03:00
- "cargo hack check --feature-powerset --no-dev-deps"
2022-02-24 09:06:03 +03:00
swc_ecma_transforms_optimization:
2022-09-06 19:47:06 +03:00
- "cargo hack check --feature-powerset --no-dev-deps"
2022-02-24 09:06:03 +03:00
swc_ecma_utils:
2022-09-06 19:47:06 +03:00
- "cargo hack check --feature-powerset --no-dev-deps"
swc_ecma_visit:
2022-09-06 19:47:06 +03:00
- "cargo hack check --feature-powerset --no-dev-deps"
swc_cli:
2022-09-06 19:47:06 +03:00
- "cargo check"
- "cargo check --features plugin"
2022-02-24 09:06:03 +03:00
swc_node_bundler:
2022-09-06 19:47:06 +03:00
- "cargo check"
- "cargo check --no-default-features --features swc_v2"