Skip to content

Commit

Permalink
rules_sh@0.4.0 (#1228)
Browse files Browse the repository at this point in the history
* Publish tweag/rules_sh@v0.4.0

* Adapt presubmit config for test module

* Drop centos7 and remove verify_targets task

Centos' gcc is too old to support `-std=c++14`.

---------

Co-authored-by: Claudio Bley <null>
Co-authored-by: Claudio Bley <claudio.bley@tweag.io>
  • Loading branch information
publish-to-bcr-bot[bot] and avdv committed Dec 22, 2023
1 parent 2835eec commit 8a907eb
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 9 deletions.
15 changes: 15 additions & 0 deletions modules/rules_sh/0.4.0/MODULE.bazel
@@ -0,0 +1,15 @@
module(
name = "rules_sh",
version = "0.4.0",
compatibility_level = 0,
)

bazel_dep(name = "bazel_skylib", version = "1.2.1")
bazel_dep(name = "platforms", version = "0.0.8")

bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True, repo_name = "io_bazel_stardoc")

sh_configure = use_extension("//bzlmod:extensions.bzl", "sh_configure")
use_repo(sh_configure, "local_posix_config", "rules_sh_shim_exe")

register_toolchains("@local_posix_config//...")
16 changes: 16 additions & 0 deletions modules/rules_sh/0.4.0/presubmit.yml
@@ -0,0 +1,16 @@
bcr_test_module:
module_path: tests
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
- windows
tasks:
run_test_module:
name: Run test module
platform: ${{ platform }}
test_targets:
- //...

5 changes: 5 additions & 0 deletions modules/rules_sh/0.4.0/source.json
@@ -0,0 +1,5 @@
{
"integrity": "sha256-MkOvP8s3aGM/0582VN53Pl+2FHGi+uV2KhZTwixBLSw=",
"strip_prefix": "rules_sh-0.4.0",
"url": "https://github.com/tweag/rules_sh/releases/download/v0.4.0/rules_sh-0.4.0.tar.gz"
}
16 changes: 7 additions & 9 deletions modules/rules_sh/metadata.json
@@ -1,23 +1,21 @@
{
"homepage": "https://github.com/tweag/rules_sh#readme",
"maintainers": [
{
"email": "andreas.herrmann@tweag.io",
"github": "aherrmann",
"name": "Andreas Herrmann"
},
{
"email": "claudio.bley@tweag.io",
"github": "avdv",
"name": "Claudio Bley"
},
{
"email": "andreas.herrmann@tweag.io",
"github": "aherrmann",
"name": "Andreas Herrmann"
}
],
"repository": [
"github:tweag/rules_sh"
],
"versions": [
"0.2.0",
"0.3.0"
"0.3.0",
"0.4.0"
],
"yanked_versions": {}
}

0 comments on commit 8a907eb

Please sign in to comment.