ci: mac, windows: build on any push to these branches
This commit is contained in:
		
							parent
							
								
									5648db0fd5
								
							
						
					
					
						commit
						a3c71d2fad
					
				
							
								
								
									
										25
									
								
								.github/workflows/mac.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										25
									
								
								.github/workflows/mac.yml
									
									
									
									
										vendored
									
									
								
							| @ -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, | # Builds all modules optimised and runs unit/doc/functional tests on mac, | ||||||
| # using GHC 8.6, | # using GHC 8.6, | ||||||
| @ -9,31 +9,8 @@ name: mac CI | |||||||
| on: | on: | ||||||
|   schedule: |   schedule: | ||||||
|   - cron: "0 07 * * 0"  # sunday midnight pacific |   - cron: "0 07 * * 0"  # sunday midnight pacific | ||||||
| 
 |  | ||||||
|   push: |   push: | ||||||
|     branches: [ ci-mac ] |     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: |   workflow_dispatch: | ||||||
| 
 | 
 | ||||||
| jobs: | jobs: | ||||||
|  | |||||||
							
								
								
									
										25
									
								
								.github/workflows/windows.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										25
									
								
								.github/workflows/windows.yml
									
									
									
									
										vendored
									
									
								
							| @ -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, | # Builds all modules optimised on windows, | ||||||
| # and uploads a binaries artifact. | # and uploads a binaries artifact. | ||||||
| @ -8,31 +8,8 @@ name: windows CI | |||||||
| on: | on: | ||||||
|   schedule: |   schedule: | ||||||
|   - cron: "0 07 * * 0"  # sunday midnight pacific |   - cron: "0 07 * * 0"  # sunday midnight pacific | ||||||
| 
 |  | ||||||
|   push: |   push: | ||||||
|     branches: [ ci-windows ] |     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: |   workflow_dispatch: | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user