swc/tests.yml
Donny/강동윤 cbfeac35d6
chore(ci): Use dynamic matrix for cargo-test action (#9233)
**Description:**

We can dynamically create a matrix to make managing CI simpler.
2024-07-14 13:19:15 +09:00

60 lines
2.0 KiB
YAML

os:
windows:
- swc
- swc_allocator
- 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
- swc_node_bundler
- swc_plugin
- swc_plugin_runner
- swc_plugin_testing
macos:
- swc_allocator
- swc_plugin_runner
# host:
# swc: ubuntu-large
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"
swc_allocator:
- "cargo hack check --feature-powerset --no-dev-deps"
swc_bundler:
- "cargo hack check --feature-powerset --no-dev-deps"
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"
swc_ecma_ast:
- "cargo hack check --feature-powerset --no-dev-deps --exclude-features __rkyv"
swc_ecma_loader:
- "cargo hack check --feature-powerset --no-dev-deps"
swc_ecma_transforms:
- "cargo hack check --feature-powerset --no-dev-deps"
swc_ecma_transforms_base:
- "cargo hack check --feature-powerset --no-dev-deps"
swc_ecma_transforms_compat:
- "cargo hack check --feature-powerset --no-dev-deps"
swc_ecma_transforms_optimization:
- "cargo hack check --feature-powerset --no-dev-deps"
swc_ecma_utils:
- "cargo hack check --feature-powerset --no-dev-deps"
swc_ecma_visit:
- "cargo hack check --feature-powerset --no-dev-deps"
swc_cli:
- "cargo check"
- "cargo check --features plugin"
swc_node_bundler:
- "cargo check"
- "cargo check --no-default-features --features swc_v2"