Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[email protected] #3285

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions modules/rules_flex/0.3/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
module(
name = "rules_flex",
version = "0.3",
compatibility_level = 1,
)

bazel_dep(name = "rules_m4", version = "0.2.3")

bazel_dep(
name = "googletest",
version = "1.12.1",
dev_dependency = True,
repo_name = "com_google_googletest",
)
bazel_dep(
name = "bazel_skylib",
version = "1.2.1",
dev_dependency = True,
)
bazel_dep(
name = "stardoc",
version = "0.5.3",
dev_dependency = True,
repo_name = "io_bazel_stardoc",
)

default_toolchain = use_extension(
"//flex/internal:default_toolchain_ext.bzl",
"default_toolchain_ext",
)
use_repo(default_toolchain, "flex")

register_toolchains("@flex//:toolchain")

testutil = use_extension(
"//flex/internal:testutil_ext.bzl",
"rules_flex_testutil_ext",
dev_dependency = True,
)
use_repo(testutil, "rules_flex_testutil")

register_toolchains(
"@rules_flex_testutil//toolchains:all",
dev_dependency = True,
)
15 changes: 15 additions & 0 deletions modules/rules_flex/0.3/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
matrix:
bazel: ["6.x", "7.x"]
platform:
- centos7
- debian10
- ubuntu2004
- macos
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@rules_flex//tests:hello_c'
- '@rules_flex//tests:genrule_flex_cc'
4 changes: 4 additions & 0 deletions modules/rules_flex/0.3/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"url": "https://github.com/jmillikin/rules_flex/releases/download/v0.3/rules_flex-v0.3.tar.xz",
"integrity": "sha256-mTk4c9ShvORIU/HPDEijRkBYPO49BvLT1DnhL7FSkDY="
}
7 changes: 4 additions & 3 deletions modules/rules_flex/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@
"homepage": "https://github.com/jmillikin/rules_flex",
"maintainers": [
{
"name": "John Millikin",
"email": "[email protected]",
"github": "jmillikin",
"name": "John Millikin"
"github": "jmillikin"
}
],
"repository": [
"github:jmillikin/rules_flex"
],
"versions": [
"0.2.1"
"0.2.1",
"0.3"
],
"yanked_versions": {}
}
Loading