mirror of
https://github.com/apple/pkl.git
synced 2026-05-19 21:37:04 +02:00
Add CI check to test patch file (#253)
This tests that the patch file can apply in CI.
This commit is contained in:
@@ -708,6 +708,13 @@ jobs:
|
||||
name: Publish release on GitHub
|
||||
docker:
|
||||
- image: maniator/gh:v2.40.1
|
||||
check-patch-file:
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
command: git apply --reject patches/graalVm23.patch
|
||||
docker:
|
||||
- image: cimg/base:current
|
||||
trigger-docsite-build:
|
||||
steps:
|
||||
- run:
|
||||
@@ -749,6 +756,10 @@ workflows:
|
||||
requires:
|
||||
- hold
|
||||
- pr-approval/authenticate
|
||||
- check-patch-file:
|
||||
requires:
|
||||
- hold
|
||||
- pr-approval/authenticate
|
||||
when:
|
||||
matches:
|
||||
value: << pipeline.git.branch >>
|
||||
@@ -757,6 +768,7 @@ workflows:
|
||||
jobs:
|
||||
- gradle-check-jdk11
|
||||
- gradle-check-jdk17
|
||||
- check-patch-file
|
||||
- bench
|
||||
- pkl-cli-macOS-amd64-snapshot
|
||||
- pkl-cli-linux-amd64-snapshot
|
||||
@@ -767,6 +779,7 @@ workflows:
|
||||
requires:
|
||||
- gradle-check-jdk11
|
||||
- gradle-check-jdk17
|
||||
- check-patch-file
|
||||
- bench
|
||||
- pkl-cli-macOS-amd64-snapshot
|
||||
- pkl-cli-linux-amd64-snapshot
|
||||
@@ -797,6 +810,12 @@ workflows:
|
||||
ignore: /.*/
|
||||
tags:
|
||||
only: /^v?\d+\.\d+\.\d+$/
|
||||
- check-patch-file:
|
||||
filters:
|
||||
branches:
|
||||
ignore: /.*/
|
||||
tags:
|
||||
only: /^v?\d+\.\d+\.\d+$/
|
||||
- bench:
|
||||
filters:
|
||||
branches:
|
||||
@@ -837,6 +856,7 @@ workflows:
|
||||
requires:
|
||||
- gradle-check-jdk11
|
||||
- gradle-check-jdk17
|
||||
- check-patch-file
|
||||
- bench
|
||||
- pkl-cli-macOS-amd64-release
|
||||
- pkl-cli-linux-amd64-release
|
||||
|
||||
Reference in New Issue
Block a user