-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This library is a dependency of open62541's tests, which we'd like to build. Ideally we'll drop use of rules_foreign_cc in favor of natively building the library, but that requires wrangling some complexity around configured files.
- Loading branch information
Showing
6 changed files
with
81 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,10 @@ | ||
module( | ||
name = "check", | ||
version = "0.15.2", | ||
compatibility_level = 0, | ||
) | ||
|
||
bazel_dep( | ||
name = "rules_foreign_cc", | ||
version = "0.13.0", | ||
) |
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,17 @@ | ||
--- /dev/null | ||
+++ BUILD.bazel | ||
@@ -0,0 +1,14 @@ | ||
+load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") | ||
+ | ||
+filegroup( | ||
+ name="all_srcs", | ||
+ srcs= glob(["**"]), | ||
+) | ||
+ | ||
+cmake( | ||
+ name="check", | ||
+ lib_source = ":all_srcs", | ||
+ out_static_libs = ["libcheck.a"], | ||
+ linkopts =["-lrt"], | ||
+ visibility = ["//visibility:public"], | ||
+) |
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,13 @@ | ||
--- MODULE.bazel | ||
+++ MODULE.bazel | ||
@@ -0,0 +1,10 @@ | ||
+module( | ||
+ name = "check", | ||
+ version = "0.15.2", | ||
+ compatibility_level = 0, | ||
+) | ||
+ | ||
+bazel_dep( | ||
+ name = "rules_foreign_cc", | ||
+ version = "0.13.0", | ||
+) |
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 @@ | ||
matrix: | ||
platform: | ||
- debian10 | ||
- ubuntu2004 | ||
bazel: | ||
- 8.x | ||
- 7.x | ||
tasks: | ||
verify_targets: | ||
name: Verify build targets | ||
platform: ${{ platform }} | ||
bazel: ${{ bazel }} | ||
build_targets: | ||
- '@check//:check' |
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,10 @@ | ||
{ | ||
"url": "https://github.com/libcheck/check/releases/download/0.15.2/check-0.15.2.tar.gz", | ||
"integrity": "sha256-qN5OC6z7TXbdHGGN7SY1I7U7hdkqFG2INesaUpMvogo=", | ||
"strip_prefix": "check-0.15.2", | ||
"patches": { | ||
"add_build_file.patch": "sha256-8Xq7WLYk1k54AWpedJcQjixvHXyGd/tPqgKFJxTzY1A=", | ||
"module_dot_bazel.patch": "sha256-+xh4zRz0/HENCGs8EH3lrcblSI2j7PbAlqvgaXV7deY=" | ||
}, | ||
"patch_strip": 0 | ||
} |
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,17 @@ | ||
{ | ||
"homepage": "https://libcheck.github.io/check/", | ||
"maintainers": [ | ||
{ | ||
"email": "[email protected]", | ||
"github": "mbeards", | ||
"name": "Michael Beardsworth" | ||
} | ||
], | ||
"repository": [ | ||
"github:libcheck/check" | ||
], | ||
"versions": [ | ||
"0.15.2" | ||
], | ||
"yanked_versions": {} | ||
} |