Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Release: https://github.com/bazelbuild/rules_cc/releases/tag/0.1.0

_Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_

---------

Co-authored-by: Ivo List <[email protected]>
Co-authored-by: Ivo List <[email protected]>
  • Loading branch information
3 people authored Nov 7, 2024
1 parent 2f1c5db commit 8d9bdcd
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 1 deletion.
18 changes: 18 additions & 0 deletions modules/rules_cc/0.1.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module(
name = "rules_cc",
version = "0.1.0",
compatibility_level = 1,
)

bazel_dep(name = "bazel_features", version = "1.19.0")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "platforms", version = "0.0.10")

cc_configure = use_extension("//cc:extensions.bzl", "cc_configure_extension")
use_repo(cc_configure, "local_config_cc", "local_config_cc_toolchains")

register_toolchains("@local_config_cc_toolchains//:all")

bazel_dep(name = "rules_shell", version = "0.2.0", dev_dependency = True)
bazel_dep(name = "rules_testing", version = "0.6.0", dev_dependency = True)
bazel_dep(name = "stardoc", version = "0.7.0", dev_dependency = True)
12 changes: 12 additions & 0 deletions modules/rules_cc/0.1.0/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,7 +1,7 @@
module(
name = "rules_cc",
- version = "0.0.0",
+ version = "0.1.0",
compatibility_level = 1,
)

bazel_dep(name = "bazel_features", version = "1.19.0")
11 changes: 11 additions & 0 deletions modules/rules_cc/0.1.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
matrix:
platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"]
bazel:
- 7.x
tasks:
verify_targets:
name: "Verify build targets"
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- "@rules_cc//cc/..."
9 changes: 9 additions & 0 deletions modules/rules_cc/0.1.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-SxIUmgQd37gwao/Q6QTjnWc1Us6C5ClulvrJy/B4Dlk=",
"strip_prefix": "rules_cc-0.1.0",
"url": "https://github.com/bazelbuild/rules_cc/releases/download/0.1.0/rules_cc-0.1.0.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-2pIvoTgk0ChEhJ6GELGNoN9PGRna9nMz49fzt7+d7mg="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_cc/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"0.0.11",
"0.0.12",
"0.0.13",
"0.0.14"
"0.0.14",
"0.1.0"
],
"yanked_versions": {}
}

0 comments on commit 8d9bdcd

Please sign in to comment.