fix: target_compatible_with excluding arm64 (
#84)
* fix: target_compatible_with excluding arm64 The 'ci: update ci and exclude windows' commit added 'target_compatible_with' arguments to some of the tests restricting them to linux but it also forced amd64 instead of allowing the tests to run in both linux/amd64 and linux/arm64. Before this fix, I would get SKIPPED tests when testing on linux/arm64 and now all the tests run. * chore: updating locks Just doing 'bazel run' on the locks (except apt_security which is lock-less) and runnign the tests for linux/amd64 and linux/arm64: ``` bazel run @bullseye//:lock bazel run @shared_dependencies//:lock bazel run @noble//:lock bazel test //... ``` produces these changes, which seem to be, mostly, * tabs vs 2 spaces in lock.json * keys with '_' instead of '~' * some tooling in MODULES.lock1 parent 96d68d4 commit 8a2174aFile tree Expand file treeCollapse file tree 8 files changedCopy full SHA for 8a2174a
+8804
-7007
lines changedFilter options
+8804
-7007
lines changed +1,440-1Lines changed: 1440 additions & 1 deletion +4-2Lines changed: 4 additions & 2 deletions Original file line number Diff line number Diff line change
@@ -120,8 +120,10 @@ container_structure_test(
120
120
"@platforms//cpu:x86_64": ["test_linux_amd64.yaml"],
121
121
}),
122
122
image = ":apt",
123
-
target_compatible_with = [
124
-
"@platforms//cpu:x86_64",
123
+
target_compatible_with = select({
124
+
"@platforms//cpu:x86_64": ["@platforms//cpu:x86_64"],
125
+
"@platforms//cpu:arm64": ["@platforms//cpu:arm64"],
126
+
}) + [
125
127
"@platforms//os:linux",
126
128
],
127
129
)
+4-2Lines changed: 4 additions & 2 deletions Original file line number Diff line number Diff line change
@@ -107,8 +107,10 @@ container_structure_test(
107
107
"@platforms//cpu:x86_64": ["test_linux_amd64.yaml"],
108
108
}),
109
109
image = ":apt",
110
-
target_compatible_with = [
111
-
"@platforms//cpu:x86_64",
110
+
target_compatible_with = select({
111
+
"@platforms//cpu:x86_64": ["@platforms//cpu:x86_64"],
112
+
"@platforms//cpu:arm64": ["@platforms//cpu:arm64"],
113
+
}) + [
112
114
"@platforms//os:linux",
113
115
],
114
116
)
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4