-
-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add rules_erlang@2.3.0 * Update presubmit to build and test all under rules_erlang * Adopt bzlmod fixes in rules erlang from 2.4.0 * Remove bcr_test_module as per review comments * Adjust label to be relative to workspace as per review comments
- Loading branch information
Showing
4 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
module( | ||
name = "rules_erlang", | ||
version = "2.4.0", | ||
compatibility_level = 2, | ||
) | ||
|
||
download_xrefr = use_extension( | ||
"//bzlmod:extensions.bzl", | ||
"download_xrefr", | ||
) | ||
|
||
use_repo( | ||
download_xrefr, | ||
"xrefr", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
matrix: | ||
platform: | ||
- ubuntu2004 | ||
- macos | ||
tasks: | ||
verify_targets: | ||
name: Verify build targets | ||
platform: ${{ platform }} | ||
environment: | ||
ERLANG_VERSION: "24.3" | ||
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} | ||
- | | ||
ERLANG_HOME="$(realpath ~/kerl/${ERLANG_VERSION})" | ||
cat << EOF >> .bazelrc | ||
build --@rules_erlang//:erlang_version=${ERLANG_VERSION} | ||
build --@rules_erlang//:erlang_home=${ERLANG_HOME} | ||
EOF | ||
build_flags: | ||
- --incompatible_strict_action_env | ||
build_targets: | ||
- '@rules_erlang//...' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"integrity": "sha256-Vlab8tFh7lAH4XvHeRnfTYNpbNetj/m+UgJ1HK0zMv0=", | ||
"strip_prefix": "rules_erlang-2.4.0", | ||
"url": "https://github.com/rabbitmq/rules_erlang/archive/refs/tags/2.4.0.zip" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"homepage": "https://github.com/rabbitmq/rules_erlang", | ||
"maintainers": [ | ||
{ | ||
"email": "kuryloskip@vmware.com", | ||
"github": "pjk25", | ||
"name": "Phil Kuryloski" | ||
} | ||
], | ||
"versions": [ | ||
"2.4.0" | ||
], | ||
"yanked_versions": {} | ||
} |