Skip to content

Commit 3991f9a

Browse files
committed
fix: use explicit target inclusions in CI to avoid JavaScript issues
Replace wildcard exclusion approach with explicit inclusion of working target patterns. This ensures CI builds only the stable components: - Go components (hermetic toolchain working perfectly) - Rust components - C++ components - Core build system components - Working tests and tools JavaScript components are implicitly excluded by not being listed, preventing the multi-file module resolution issues while allowing our successful hermetic Go toolchain to be validated.
1 parent 4d8fa32 commit 3991f9a

File tree

1 file changed

+20
-35
lines changed

1 file changed

+20
-35
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -102,41 +102,26 @@ jobs:
102102
- name: Build All Targets
103103
run: |
104104
# Build core working targets, exclude incomplete/problematic examples
105-
bazel build -- //... \
106-
-//examples/world_export/... \
107-
-//examples/multi_profile/... \
108-
-//examples/wac_remote_compose/... \
109-
-//examples/wac_oci_composition/... \
110-
-//examples/wkg_integration/... \
111-
-//examples/wizer_example/... \
112-
-//examples/simple_oci_test/... \
113-
-//examples/microservices_architecture/... \
114-
-//test_wac/... \
115-
-//test/wkg/... \
116-
-//test/production/... \
117-
-//tools-builder/... \
118-
-//examples/wasm_signing/... \
119-
-//test_examples/... \
120-
-//test_wit_deps/... \
121-
-//examples/oci_publishing:secure_publish_enterprise \
122-
-//test/integration:multi_service_system \
123-
-//test/integration:composition_build_test \
124-
-//test/integration:integration_tests \
125-
-//test/export_macro:test_component_wasm_lib_release_host \
126-
-//test/integration:basic_component_wasm_lib_debug_host \
127-
-//test/integration:basic_component_wasm_lib_release_host \
128-
-//test/integration:consumer_component_wasm_lib_release_host \
129-
-//test/integration:service_a_component_wasm_lib_release_host \
130-
-//test/integration:service_b_component_wasm_lib_release_host \
131-
-//test/integration:wasi_component_wasm_lib_release_host \
132-
-//test/unit:test_component_simple_wasm_lib_release_host \
133-
-//test/unit:test_component_with_deps_wasm_lib_release_host \
134-
-//examples/basic:hello_component_wasm_lib_release_host \
135-
-//tools/checksum_updater_wasm:checksum_updater_wasm_wizer_component_release_wasm_lib_release_host \
136-
-//examples/js_component:hello_js_component \
137-
-//examples/js_component:calc_js_component \
138-
-//examples/js_component:hello_js_bindings \
139-
-//test/js/...
105+
# Using explicit inclusions to avoid JavaScript component issues
106+
bazel build \
107+
//examples/go_component/... \
108+
//examples/rust_component/... \
109+
//examples/cpp_component/... \
110+
//examples/basic/... \
111+
//rust/... \
112+
//go/... \
113+
//cpp/... \
114+
//wasm/... \
115+
//wit/... \
116+
//tools/... \
117+
//providers/... \
118+
//test/rust/... \
119+
//test/go/... \
120+
//test/cpp/... \
121+
//test/unit/... \
122+
//test/integration/... \
123+
//docs-site/... \
124+
--keep_going
140125
141126
- name: Run Tests
142127
run: bazel test --test_output=errors -- //test/integration:basic_component_build_test //test/integration:basic_component_validation //test/unit:unit_tests

0 commit comments

Comments
 (0)