Skip to content

Commit

Permalink
Add riscv64 arch to check{Architecture|Platform}
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Biesek <[email protected]>
  • Loading branch information
michalbiesek committed Aug 12, 2023
1 parent 4b568ff commit 0c1622e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion schema/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ func checkArchitecture(Architecture string, Variant string) {
"mips64": {""},
"mips64le": {""},
"s390x": {""},
"riscv64": {""},
}
for arch, variants := range validCombins {
if arch == Architecture {
Expand All @@ -232,7 +233,7 @@ func checkPlatform(OS string, Architecture string) {
"darwin": {"386", "amd64", "arm", "arm64"},
"dragonfly": {"amd64"},
"freebsd": {"386", "amd64", "arm"},
"linux": {"386", "amd64", "arm", "arm64", "ppc64", "ppc64le", "mips64", "mips64le", "s390x"},
"linux": {"386", "amd64", "arm", "arm64", "ppc64", "ppc64le", "mips64", "mips64le", "s390x", "riscv64"},
"netbsd": {"386", "amd64", "arm"},
"openbsd": {"386", "amd64", "arm"},
"plan9": {"386", "amd64"},
Expand Down

0 comments on commit 0c1622e

Please sign in to comment.