mirror of
https://github.com/apple/pkl.git
synced 2026-03-25 02:21:11 +01:00
Fix macos/amd64 image builds (#1322)
This commit is contained in:
2
.github/jobs/BuildNativeJob.pkl
vendored
2
.github/jobs/BuildNativeJob.pkl
vendored
@@ -1,6 +1,7 @@
|
||||
extends "GradleJob.pkl"
|
||||
|
||||
import "@gha/actions/Artifact.pkl"
|
||||
import "@gha/Context.pkl"
|
||||
|
||||
/// Whether to link to musl. Otherwise, links to glibc.
|
||||
musl: Boolean(implies(module.os == "linux")) = false
|
||||
@@ -11,6 +12,7 @@ project: String
|
||||
extraGradleArgs {
|
||||
when (os == "macOS" && arch == "amd64") {
|
||||
"-Dpkl.targetArch=\(module.arch)"
|
||||
"-Dpkl.native--native-compiler-path=\(Context.github.workspace)/.github/scripts/cc_macos_amd64.sh"
|
||||
}
|
||||
when (musl) {
|
||||
"-Dpkl.musl=true"
|
||||
|
||||
Reference in New Issue
Block a user