Skip to content

Commit 4a6428c

Browse files
committed
fix: resolve CI dependency issues and platform constraints
- Replace local_path_override with git_override for rules_wasm_component - Update dependency versions to resolve compatibility warnings - Fix hyperfine download URL in performance CI workflow - Remove problematic platform constraints from .bazelrc - Use stable commit SHA for git_override reproducibility
1 parent 442f2e3 commit 4a6428c

File tree

4 files changed

+20
-55
lines changed

4 files changed

+20
-55
lines changed

.bazelrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ build --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
1010

1111
# Enable platform-specific toolchain selection
1212
build --incompatible_enable_cc_toolchain_resolution
13-
build --platforms=@platforms//os:linux,@platforms//cpu:x86_64
1413

1514
# WebAssembly specific settings
1615
build:wasm --platforms=@platforms//cpu:wasm32

.github/workflows/performance.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
run: |
6565
# Install hyperfine for benchmarking
6666
if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
67-
curl -Lo hyperfine.deb https://github.com/sharkdp/hyperfine/releases/latest/download/hyperfine_1.18.0_amd64.deb
67+
curl -Lo hyperfine.deb https://github.com/sharkdp/hyperfine/releases/download/v1.18.0/hyperfine_1.18.0_amd64.deb
6868
sudo dpkg -i hyperfine.deb
6969
elif [[ "${{ matrix.os }}" == "macos-latest" ]]; then
7070
brew install hyperfine
@@ -325,7 +325,7 @@ jobs:
325325

326326
- name: Install Hyperfine
327327
run: |
328-
curl -Lo hyperfine.deb https://github.com/sharkdp/hyperfine/releases/latest/download/hyperfine_1.18.0_amd64.deb
328+
curl -Lo hyperfine.deb https://github.com/sharkdp/hyperfine/releases/download/v1.18.0/hyperfine_1.18.0_amd64.deb
329329
sudo dpkg -i hyperfine.deb
330330
331331
- name: Benchmark Baseline Performance

MODULE.bazel

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ module(
1414
)
1515

1616
# Core Bazel dependencies
17-
bazel_dep(name = "platforms", version = "0.0.10")
18-
bazel_dep(name = "rules_cc", version = "0.0.13")
17+
bazel_dep(name = "platforms", version = "0.0.11")
18+
bazel_dep(name = "rules_cc", version = "0.1.1")
1919
bazel_dep(name = "bazel_skylib", version = "1.7.1")
2020

2121
# WebAssembly and component support
22-
bazel_dep(name = "rules_rust", version = "0.53.0")
23-
bazel_dep(name = "rules_go", version = "0.50.1")
22+
bazel_dep(name = "rules_rust", version = "0.62.0")
23+
bazel_dep(name = "rules_go", version = "0.55.1")
2424

2525
# Documentation site dependencies
2626
bazel_dep(name = "aspect_rules_js", version = "2.1.0")
@@ -29,6 +29,13 @@ bazel_dep(name = "aspect_rules_ts", version = "3.2.1")
2929
# TinyGo toolchain for WebAssembly components
3030
bazel_dep(name = "rules_wasm_component", version = "0.1.0")
3131

32+
# Git repository override - use latest from GitHub
33+
git_override(
34+
module_name = "rules_wasm_component",
35+
remote = "https://github.com/pulseengine/rules_wasm_component.git",
36+
commit = "068802420bacf902c3ff993874b6a01ee9a3ac55", # Latest commit from main branch
37+
)
38+
3239
# Local development override - use local rules_wasm_component (disabled for CI)
3340
# local_path_override(
3441
# module_name = "rules_wasm_component",

0 commit comments

Comments
 (0)