Skip to content

Commit

Permalink
Merge pull request #118 from ascopes/bugfix/117-s390x
Browse files Browse the repository at this point in the history
Fix linux detection on s390x
  • Loading branch information
ascopes authored Mar 10, 2024
2 parents f70d039 + 5bea112 commit 7284340
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ private String getPlatformExecutableClassifier(String artifactId) {
case "ppc64":
return "linux-ppcle_64";

case "s390":
case "s390x":
case "zarch_64":
return "linux-s390_64";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ static Stream<Arguments> validClassifierCases() {
var systemToClassifiers = new HashMap<HostSystemMockConfigurer, String>();
systemToClassifiers.put(linux().and(arch("amd64")), "linux-x86_64");
systemToClassifiers.put(linux().and(arch("aarch64")), "linux-aarch_64");
systemToClassifiers.put(linux().and(arch("s390")), "linux-s390_64");
systemToClassifiers.put(linux().and(arch("s390x")), "linux-s390_64");
systemToClassifiers.put(linux().and(arch("zarch_64")), "linux-s390_64");
systemToClassifiers.put(linux().and(arch("ppc64le")), "linux-ppcle_64");
systemToClassifiers.put(linux().and(arch("ppc64")), "linux-ppcle_64");
Expand Down

0 comments on commit 7284340

Please sign in to comment.