ci: stop running nightly CIs on each push
Pushing to master now only triggers the quick "push" workflow. The nightlies run nightly or on push to a "ci-PLATFORM" branch. (And the linux nightly workflow is also used for pull requests, for now.) I might split these up a bit more, but as yet there's no way of sharing common code between workflows.
This commit is contained in:
parent
a1361ecc04
commit
0bc157caaa
5
.github/workflows/linux-nightly.yml
vendored
5
.github/workflows/linux-nightly.yml
vendored
@ -20,8 +20,10 @@
|
|||||||
name: linux nightly/pr CI
|
name: linux nightly/pr CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
# run nightly
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 07 * * *"
|
- cron: "0 07 * * *"
|
||||||
|
# and on pull requests to master
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
paths:
|
paths:
|
||||||
@ -37,8 +39,9 @@ on:
|
|||||||
- '!**.5'
|
- '!**.5'
|
||||||
- '!**.info'
|
- '!**.info'
|
||||||
- '!**.txt'
|
- '!**.txt'
|
||||||
|
# and on pushes to ci-linux branch
|
||||||
push:
|
push:
|
||||||
branches: [ ci, master ] # master too for testing
|
branches: [ ci-linux ]
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/linux-nightly.yml'
|
- '.github/workflows/linux-nightly.yml'
|
||||||
- 'stack*'
|
- 'stack*'
|
||||||
|
|||||||
25
.github/workflows/mac-nightly.yml
vendored
25
.github/workflows/mac-nightly.yml
vendored
@ -3,12 +3,12 @@
|
|||||||
name: mac nightly CI
|
name: mac nightly CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# XXX not supported yet; build on noteworthy push to "ci" instead
|
# run nightly
|
||||||
# schedule:
|
schedule:
|
||||||
# - cron: "0 23 * * *"
|
- cron: "0 07 * * *"
|
||||||
# uncomment when testing CI:
|
# and on pushes to ci-mac branch
|
||||||
push:
|
push:
|
||||||
branches: [ ci, master ] # master too for testing
|
branches: [ ci-mac ]
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/mac-nightly.yml'
|
- '.github/workflows/mac-nightly.yml'
|
||||||
- 'stack*.yaml'
|
- 'stack*.yaml'
|
||||||
@ -22,21 +22,6 @@ on:
|
|||||||
- '!**.5'
|
- '!**.5'
|
||||||
- '!**.info'
|
- '!**.info'
|
||||||
- '!**.txt'
|
- '!**.txt'
|
||||||
# pull_request:
|
|
||||||
# branches: [ master ]
|
|
||||||
# paths:
|
|
||||||
# - '.github/workflows/mac-nightly.yml'
|
|
||||||
# - 'stack*'
|
|
||||||
# - 'hledger-lib'
|
|
||||||
# - 'hledger'
|
|
||||||
# - 'hledger-ui'
|
|
||||||
# - 'hledger-web'
|
|
||||||
# - 'tests'
|
|
||||||
# - '!**.md'
|
|
||||||
# - '!**.1'
|
|
||||||
# - '!**.5'
|
|
||||||
# - '!**.info'
|
|
||||||
# - '!**.txt'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
23
.github/workflows/windows-nightly.yml
vendored
23
.github/workflows/windows-nightly.yml
vendored
@ -4,11 +4,12 @@
|
|||||||
name: windows nightly CI
|
name: windows nightly CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# schedule:
|
# run nightly
|
||||||
# - cron: "0 23 * * *"
|
schedule:
|
||||||
# XXX not supported yet; build on noteworthy push to "ci" instead
|
- cron: "0 07 * * *"
|
||||||
|
# and on pushes to ci-windows branch
|
||||||
push:
|
push:
|
||||||
branches: [ ci, master ] # master too while testing
|
branches: [ ci-windows ]
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/windows-nightly.yml'
|
- '.github/workflows/windows-nightly.yml'
|
||||||
- 'stack*.yaml'
|
- 'stack*.yaml'
|
||||||
@ -22,20 +23,6 @@ on:
|
|||||||
- '!**.5'
|
- '!**.5'
|
||||||
- '!**.info'
|
- '!**.info'
|
||||||
- '!**.txt'
|
- '!**.txt'
|
||||||
# pull_request:
|
|
||||||
# branches: [ master ]
|
|
||||||
# paths:
|
|
||||||
# - '.github/workflows/windows-nightly.yml'
|
|
||||||
# - 'stack*'
|
|
||||||
# - 'hledger-lib'
|
|
||||||
# - 'hledger'
|
|
||||||
# - 'hledger-ui'
|
|
||||||
# - 'hledger-web'
|
|
||||||
# - '!**.md'
|
|
||||||
# - '!**.1'
|
|
||||||
# - '!**.5'
|
|
||||||
# - '!**.info'
|
|
||||||
# - '!**.txt'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user