ci: mac, windows: build on any push to these branches

This commit is contained in:
Simon Michael 2021-12-01 21:09:21 -10:00
parent 5648db0fd5
commit a3c71d2fad
2 changed files with 2 additions and 48 deletions

View File

@ -1,4 +1,4 @@
# Runs on notable pushes to ci-mac, and weekly on master.
# Runs on any push to ci-mac, and weekly on master.
# Builds all modules optimised and runs unit/doc/functional tests on mac,
# using GHC 8.6,
@ -9,31 +9,8 @@ name: mac CI
on:
schedule:
- cron: "0 07 * * 0" # sunday midnight pacific
push:
branches: [ ci-mac ]
paths:
- '.github/workflows/mac.yml'
- 'stack*.yaml'
- 'hledger-lib/**'
- 'hledger/**'
- 'hledger-ui/**'
- 'hledger-web/**'
- 'bin/*.hs'
# ignore changes to example files, though currently some func tests depend on them
- 'examples/**'
- '!**.journal'
- '!**.j'
- '!**.ledger'
- '!**.csv'
# ignore changes to doc source files
- '!**.m4'
- '!**.md'
- '!**.1'
- '!**.5'
- '!**.info'
- '!**.txt'
workflow_dispatch:
jobs:

View File

@ -1,4 +1,4 @@
# Runs on notable pushes to ci-windows, and weekly on master.
# Runs on any push to ci-windows, and weekly on master.
# Builds all modules optimised on windows,
# and uploads a binaries artifact.
@ -8,31 +8,8 @@ name: windows CI
on:
schedule:
- cron: "0 07 * * 0" # sunday midnight pacific
push:
branches: [ ci-windows ]
paths:
- '.github/workflows/windows.yml'
- 'stack*.yaml'
- 'hledger-lib/**'
- 'hledger/**'
- 'hledger-ui/**'
- 'hledger-web/**'
# - 'bin/*.hs'
# ignore changes to example files, though currently some func tests depend on them
- 'examples/**'
- '!**.journal'
- '!**.j'
- '!**.ledger'
- '!**.csv'
# ignore changes to doc source files
- '!**.m4'
- '!**.md'
- '!**.1'
- '!**.5'
- '!**.info'
- '!**.txt'
workflow_dispatch: