summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Meumertzheim <fabian@meumertzhe.im>2024-03-27 22:57:57 +0100
committerGitHub <noreply@github.com>2024-03-27 17:57:57 -0400
commitb0199e6313c342ddf0ff21e10827da63bf3aca0d (patch)
tree9f5ba0486944668accc4c4d722dcd980bc6ba64f
parent1dbcd9167300ad226d29972f5f9c925d6d81f441 (diff)
downloadbazelbuild-rules_fuzzing-b0199e6313c342ddf0ff21e10827da63bf3aca0d.tar.gz
Add metadata for "Publish to BCR" app (#246)
* Add metadata for "Publish to BCR" app * Update presubmit.yml
-rw-r--r--.bcr/metadata.template.json12
-rw-r--r--.bcr/presubmit.yml20
-rw-r--r--.bcr/source.template.json5
3 files changed, 37 insertions, 0 deletions
diff --git a/.bcr/metadata.template.json b/.bcr/metadata.template.json
new file mode 100644
index 0000000..b35ba85
--- /dev/null
+++ b/.bcr/metadata.template.json
@@ -0,0 +1,12 @@
+{
+ "homepage": "https://github.com/bazelbuild/rules_fuzzing",
+ "maintainers": [
+ {
+ "email": "281483+stefanbucur@users.noreply.github.com",
+ "github": "stefanbucur",
+ "name": "Stefan Bucur"
+ }
+ ],
+ "versions": [],
+ "yanked_versions": {}
+}
diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml
new file mode 100644
index 0000000..ac4b872
--- /dev/null
+++ b/.bcr/presubmit.yml
@@ -0,0 +1,20 @@
+matrix:
+ platform: ["macos", "ubuntu2204"]
+
+tasks:
+ build_targets:
+ name: "Build targets"
+ platform: ${{ platform }}
+ build_targets:
+ - "@rules_fuzzing//fuzzing/..."
+
+bcr_test_module:
+ module_path: "examples/bzlmod"
+ matrix:
+ platform: ["macos", "ubuntu2204"]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ test_targets:
+ - "//..."
diff --git a/.bcr/source.template.json b/.bcr/source.template.json
new file mode 100644
index 0000000..ab829a0
--- /dev/null
+++ b/.bcr/source.template.json
@@ -0,0 +1,5 @@
+{
+ "integrity": "",
+ "strip_prefix": "",
+ "url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/rules_fuzzing-{VERSION}.tar.gz"
+}