Skip to content

Commit

Permalink
chore: bzlmod updates (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy authored Apr 22, 2024
1 parent 298746d commit 64741f1
Show file tree
Hide file tree
Showing 18 changed files with 10,557 additions and 139 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
test-windows:
runs-on: windows-latest
steps:
- name: Setup Wasmer
uses: wasmerio/setup-wasmer@v3.1
- uses: actions/cache@v4
with:
path: |
Expand All @@ -41,6 +43,8 @@ jobs:
test-linux:
runs-on: ubuntu-latest
steps:
- name: Setup Wasmer
uses: wasmerio/setup-wasmer@v3.1
- uses: actions/cache@v4
with:
path: |
Expand Down
29 changes: 25 additions & 4 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,34 @@ module(
compatibility_level = 1,
)

bazel_dep(name = "rules_cc", version = "0.0.8")
bazel_dep(name = "bazel_skylib", version = "1.4.2")
bazel_dep(name = "ecsact_runtime", version = "0.5.0")
bazel_dep(name = "rules_ecsact", version = "0.4.0")
bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "bazel_skylib", version = "1.5.0")
bazel_dep(name = "ecsact_runtime", version = "0.6.1")
bazel_dep(name = "rules_ecsact", version = "0.5.0")
bazel_dep(name = "docopt.cpp", version = "0.6.2")
bazel_dep(name = "magic_enum", version = "0.9.3")
bazel_dep(name = "rules_wasmer", version = "0.1.1")
bazel_dep(name = "ecsact_cli", version = "0.3.4")

bazel_dep(name = "toolchains_llvm", version = "1.0.0", dev_dependency = True)
bazel_dep(name = "hedron_compile_commands", dev_dependency = True)

bazel_dep(name = "platforms", version = "0.0.9")

git_override(
module_name = "hedron_compile_commands",
commit = "204aa593e002cbd177d30f11f54cff3559110bb9",
remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git",
)

llvm = use_extension("@toolchains_llvm//toolchain/extensions:llvm.bzl", "llvm", dev_dependency = True)
llvm.toolchain(llvm_version = "17.0.6")
use_repo(llvm, "llvm_toolchain")

register_toolchains(
"@llvm_toolchain//:all",
dev_dependency = True,
)

wasmer = use_extension("@rules_wasmer//wasmer:extensions.bzl", "wasmer")
use_repo(wasmer, "wasmer")
Loading

0 comments on commit 64741f1

Please # to comment.