forked from ShuriZma/suyu
1
0
Fork 0

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:
Fijxu 2024-03-24 03:19:38 -03:00
parent e139a99e01
commit 9339a4dbde
No known key found for this signature in database
GPG Key ID: 32C1DDF333EDA6A4
1 changed files with 17 additions and 1 deletions

View File

@ -9,13 +9,29 @@ name: 'suyu verify'
on:
pull_request:
branches: [ "dev" ]
paths:
- 'src/**'
- 'CMakeModules/**'
- 'dist/**'
- 'externals/**'
- 'vcpkg.json'
paths-ignore:
- 'src/android/**'
push:
branches: [ "dev" ]
paths:
- 'src/**'
- 'CMakeModules/**'
- 'dist/**'
- 'externals/**'
- 'vcpkg.json'
paths-ignore:
- 'src/android/**'
env:
PR_NUMBER: pr${{ github.event.number }}
CCACHE_DIR: '.ccache'
jobs:
format:
name: 'Verify Format'