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

rules_erlang@4.0.0-beta.1 #1883

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
52 changes: 52 additions & 0 deletions modules/rules_erlang/4.0.0-beta.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
module(
name = "rules_erlang",
version = "4.0.0-beta.1",
compatibility_level = 4,
)

bazel_dep(
name = "bazel_skylib",
version = "1.4.2",
)

erlang_package = use_extension(
"//bzlmod:extensions.bzl",
"erlang_package",
)
erlang_package.hex_package(
name = "thoas_rules_erlang",
build_file = "@rules_erlang//:BUILD.thoas",
pkg = "thoas",
sha256 = "fc763185b932ecb32a554fb735ee03c3b6b1b31366077a2427d2a97f3bd26735",
version = "1.0.0",
)
use_repo(
erlang_package,
"getopt_src",
"thoas_rules_erlang",
"xref_runner_src",
)

erlang_config_extension = use_extension(
"@rules_erlang//bzlmod:extensions.bzl",
"erlang_config",
)
use_repo(
erlang_config_extension,
"erlang_config",
)

gmake_config_extension = use_extension(
"@rules_erlang//bzlmod:extensions.bzl",
"gmake_config",
)
use_repo(
gmake_config_extension,
"gmake_config",
)

register_toolchains(
"@erlang_config//external:toolchain_major",
"@erlang_config//external:toolchain_major_minor",
"@gmake_config//:default_toolchain",
)
33 changes: 33 additions & 0 deletions modules/rules_erlang/4.0.0-beta.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
shell_commands: &shell_commands
- curl -O https://raw.githubusercontent.com/kerl/kerl/master/kerl
- chmod a+x kerl
- ./kerl update releases
- ./kerl build ${ERLANG_VERSION}
- ./kerl install ${ERLANG_VERSION} ~/kerl/${ERLANG_VERSION}
- realpath ~/kerl/${ERLANG_VERSION}

matrix:
bazel:
- 6.x
- 7.x
platforms:
macos:
environment:
ERLANG_VERSION: "26.2"
ERLANG_HOME: /Users/buildkite/kerl/26.2
bazel: ${{ bazel }}
shell_commands: *shell_commands
build_flags:
- --incompatible_strict_action_env
build_targets:
- '@rules_erlang//...'
ubuntu2004:
environment:
ERLANG_VERSION: "26.2"
ERLANG_HOME: /var/lib/buildkite-agent/kerl/26.2
bazel: ${{ bazel }}
shell_commands: *shell_commands
build_flags:
- --incompatible_strict_action_env
build_targets:
- '@rules_erlang//...'
5 changes: 5 additions & 0 deletions modules/rules_erlang/4.0.0-beta.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"integrity": "sha256-go90g97hhli7w48VLpJ7vuA1ziT3bKE4C3AhH2cpBoA=",
"strip_prefix": "rules_erlang-4.0.0-beta.1",
"url": "https://github.com/rabbitmq/rules_erlang/releases/download/4.0.0-beta.1/rules_erlang-4.0.0-beta.1.tar.gz"
}
3 changes: 2 additions & 1 deletion modules/rules_erlang/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"3.13.0",
"3.13.1",
"3.13.2",
"3.14.0"
"3.14.0",
"4.0.0-beta.1"
],
"yanked_versions": {}
}
Loading