Skip to content

Commit

Permalink
Build GraalVM on Big Sur
Browse files Browse the repository at this point in the history
Ensure we don't use older macos versions

(cherry picked from commit b7718e9)
  • Loading branch information
gilles-duboscq authored and medoussboug committed Mar 27, 2024
1 parent e30195e commit 1d79916
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion common.hocon
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ linux-amd64 : ${linux} {
}

darwin-amd64 : ${darwin} {
capabilities : [darwin, amd64]
capabilities : [darwin, amd64, "!darwin_sierra", "!darwin_mojave", "!darwin_catalina"]
}

windows-amd64 : ${windows} {
Expand Down
3 changes: 2 additions & 1 deletion common.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@

darwin:: deps.darwin + self.common + {
os::"darwin",
capabilities+: [self.os],
# Run darwin jobs on Big Sur or later by excluding all older versions
capabilities+: [self.os, "!darwin_sierra", "!darwin_mojave", "!darwin_catalina"],
},

windows:: deps.windows + self.common + {
Expand Down
6 changes: 3 additions & 3 deletions vm/ci_common/common.hocon
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ common_vm_darwin: ${common_vm} ${darwin} {
}
environment: {
LANG: en_US.UTF-8
# for compatibility with macOS Sierra
MACOSX_DEPLOYMENT_TARGET: "10.12"
# for compatibility with macOS Big Sur
MACOSX_DEPLOYMENT_TARGET: "11.0"
}
setup: ${common_vm.setup}
}
Expand Down Expand Up @@ -177,7 +177,7 @@ vm_linux_aarch64: ${common_vm_linux} {
}

vm_darwin: ${common_vm_darwin} {
capabilities: [darwin_mojave, amd64, ram16gb]
capabilities: [darwin_bigsur, amd64, ram16gb]
}

vm_windows: ${common_vm_windows} {
Expand Down

0 comments on commit 1d79916

Please sign in to comment.