Add CI check to test patch file (#253)

This tests that the patch file can apply in CI.
This commit is contained in:
Daniel Chao
2024-02-28 08:10:54 -08:00
committed by Dan Chao
parent 0829ac486c
commit 3421a97478
2 changed files with 37 additions and 1 deletions
+17 -1
View File
@@ -21,7 +21,9 @@ import "jobs/GradleCheckJob.pkl"
import "jobs/DeployJob.pkl"
import "jobs/SimpleGradleJob.pkl"
local prbJobs: Listing<String> = gradleCheckJobs.keys.toListing()
local prbJobs: Listing<String> = (gradleCheckJobs.keys.toListing()) {
"check-patch-file"
}
local buildAndTestJobs = (prbJobs) {
"bench"
@@ -151,4 +153,18 @@ jobs {
}
}
}
["check-patch-file"] {
docker {
new { image = "cimg/base:current" }
}
steps {
"checkout"
new RunStep {
// language=bash
command = #"""
git apply --reject patches/graalVm23.patch
"""#
}
}
}
}