mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
ci: Only run jobs when modifying a file in specific directories.
Android job disabled because it fails. I will fix it other day.
This commit is contained in:
parent
e139a99e01
commit
9339a4dbde
1 changed files with 17 additions and 1 deletions
|
@ -9,13 +9,29 @@ name: 'suyu verify'
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "dev" ]
|
branches: [ "dev" ]
|
||||||
|
paths:
|
||||||
|
- 'src/**'
|
||||||
|
- 'CMakeModules/**'
|
||||||
|
- 'dist/**'
|
||||||
|
- 'externals/**'
|
||||||
|
- 'vcpkg.json'
|
||||||
|
paths-ignore:
|
||||||
|
- 'src/android/**'
|
||||||
push:
|
push:
|
||||||
branches: [ "dev" ]
|
branches: [ "dev" ]
|
||||||
|
paths:
|
||||||
|
- 'src/**'
|
||||||
|
- 'CMakeModules/**'
|
||||||
|
- 'dist/**'
|
||||||
|
- 'externals/**'
|
||||||
|
- 'vcpkg.json'
|
||||||
|
paths-ignore:
|
||||||
|
- 'src/android/**'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PR_NUMBER: pr${{ github.event.number }}
|
PR_NUMBER: pr${{ github.event.number }}
|
||||||
CCACHE_DIR: '.ccache'
|
CCACHE_DIR: '.ccache'
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
format:
|
format:
|
||||||
name: 'Verify Format'
|
name: 'Verify Format'
|
||||||
|
|
Loading…
Reference in a new issue