mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
ci(bsd): conditional runs for faster builds #18439
(undocumented) sourcehut feature for conditionally running consequent tasks. ref: https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3C3cd90a91b7ce113bb3c5f07898c77543%40hacktivista.com%3E https://git.sr.ht/~sircmpwn/builds.sr.ht/tree/master/item/worker/tasks.go#L196-198
This commit is contained in:
parent
c24b442e31
commit
a2d4b862f1
@ -23,6 +23,11 @@ environment:
|
|||||||
CMAKE_EXTRA_FLAGS: -DCI_BUILD=ON -DMIN_LOG_LEVEL=3
|
CMAKE_EXTRA_FLAGS: -DCI_BUILD=ON -DMIN_LOG_LEVEL=3
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- should-run: |
|
||||||
|
if ! git -C neovim diff --name-only HEAD^! | grep -E -v "^(.github|runtime/doc/.*)" >/dev/null; then
|
||||||
|
echo "Skipping build because only ignored files were changed"
|
||||||
|
complete-build
|
||||||
|
fi
|
||||||
- build-deps: |
|
- build-deps: |
|
||||||
cd neovim
|
cd neovim
|
||||||
gmake deps
|
gmake deps
|
||||||
|
@ -23,6 +23,11 @@ environment:
|
|||||||
CMAKE_EXTRA_FLAGS: -DCI_BUILD=ON -DMIN_LOG_LEVEL=3
|
CMAKE_EXTRA_FLAGS: -DCI_BUILD=ON -DMIN_LOG_LEVEL=3
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- should-run: |
|
||||||
|
if ! git -C neovim diff --name-only HEAD^! | grep -E -v "^(.github|runtime/doc/.*)" >/dev/null; then
|
||||||
|
echo "Skipping build because only ignored files were changed"
|
||||||
|
complete-build
|
||||||
|
fi
|
||||||
- build-deps: |
|
- build-deps: |
|
||||||
export AUTOCONF_VERSION=2.71
|
export AUTOCONF_VERSION=2.71
|
||||||
export AUTOMAKE_VERSION=1.16
|
export AUTOMAKE_VERSION=1.16
|
||||||
|
Loading…
Reference in New Issue
Block a user