mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
Fix CI build for pkldoc (#1349)
Fixes an issue where the executable is not built. Haven't dug into why this broke; this was working just a little bit ago (see https://github.com/apple/pkl/actions/runs/19911073549/job/57079605641?pr=1342). Nevertheless, the lifecycle job dependencies were a little wonky (test should assemble first). [native-pkl-doc]
This commit is contained in:
@@ -83,6 +83,7 @@ val assembleNative by
|
|||||||
val testNative by
|
val testNative by
|
||||||
tasks.registering {
|
tasks.registering {
|
||||||
group = "verification"
|
group = "verification"
|
||||||
|
dependsOn(assembleNative)
|
||||||
|
|
||||||
if (!buildInfo.isCrossArchSupported && buildInfo.isCrossArch) {
|
if (!buildInfo.isCrossArchSupported && buildInfo.isCrossArch) {
|
||||||
throw GradleException("Cross-arch builds are not supported on ${buildInfo.os.name}")
|
throw GradleException("Cross-arch builds are not supported on ${buildInfo.os.name}")
|
||||||
@@ -125,5 +126,5 @@ val checkNative by
|
|||||||
val buildNative by
|
val buildNative by
|
||||||
tasks.registering {
|
tasks.registering {
|
||||||
group = "build"
|
group = "build"
|
||||||
dependsOn(assembleNative, checkNative)
|
dependsOn(checkNative)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user