use more specific paths in github workflows

This commit is contained in:
Taner Sener 2022-05-15 13:08:38 +01:00
parent 7b74fa295b
commit bccf4efebc
5 changed files with 60 additions and 30 deletions

View File

@ -5,15 +5,21 @@ on:
branches:
- development
- main
paths-ignore:
- '**/README.md'
- 'docs/**'
paths:
- '.github/workflows/android-build-scripts.yml'
- 'android/**'
- 'scripts/**'
- 'tools/**'
- 'android.sh'
pull_request:
branches:
- main
paths-ignore:
- '**/README.md'
- 'docs/**'
paths:
- '.github/workflows/android-build-scripts.yml'
- 'android/**'
- 'scripts/**'
- 'tools/**'
- 'android.sh'
jobs:
build-main-on-linux:

View File

@ -5,15 +5,23 @@ on:
branches:
- development
- main
paths-ignore:
- '**/README.md'
- 'docs/**'
paths:
- '.github/workflows/ios-build-scripts.yml'
- 'apple/**'
- 'scripts/**'
- 'tools/**'
- 'apple.sh'
- 'ios.sh'
pull_request:
branches:
- main
paths-ignore:
- '**/README.md'
- 'docs/**'
paths:
- '.github/workflows/ios-build-scripts.yml'
- 'apple/**'
- 'scripts/**'
- 'tools/**'
- 'apple.sh'
- 'ios.sh'
jobs:
build-main-on-macos-bigsur:

View File

@ -5,15 +5,23 @@ on:
branches:
- development
- main
paths-ignore:
- '**/README.md'
- 'docs/**'
paths:
- '.github/workflows/macos-build-scripts.yml'
- 'apple/**'
- 'scripts/**'
- 'tools/**'
- 'apple.sh'
- 'macos.sh'
pull_request:
branches:
- main
paths-ignore:
- '**/README.md'
- 'docs/**'
paths:
- '.github/workflows/macos-build-scripts.yml'
- 'apple/**'
- 'scripts/**'
- 'tools/**'
- 'apple.sh'
- 'macos.sh'
jobs:
build-main-on-macos-bigsur:

View File

@ -20,7 +20,7 @@ jobs:
with:
ref: ${{ matrix.branches }}
- name: prerequisites
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja ragel --overwrite
- name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: set up cmake
@ -48,7 +48,7 @@ jobs:
with:
ref: ${{ matrix.branches }}
- name: prerequisites
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja ragel --overwrite
- name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: run the build script
@ -74,7 +74,7 @@ jobs:
with:
ref: ${{ matrix.branches }}
- name: prerequisites
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja ragel --overwrite
- name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: run the build script
@ -100,7 +100,7 @@ jobs:
with:
ref: ${{ matrix.branches }}
- name: prerequisites
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja ragel --overwrite
- name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: run the build script
@ -126,7 +126,7 @@ jobs:
with:
ref: ${{ matrix.branches }}
- name: prerequisites
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja ragel --overwrite
- name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: run the build script
@ -152,7 +152,7 @@ jobs:
with:
ref: ${{ matrix.branches }}
- name: prerequisites
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja
run: brew install autoconf automake libtool pkg-config curl git cmake gcc gperf texinfo yasm nasm bison autogen wget meson ninja ragel --overwrite
- name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: run the build script

View File

@ -5,15 +5,23 @@ on:
branches:
- development
- main
paths-ignore:
- '**/README.md'
- 'docs/**'
paths:
- '.github/workflows/tvos-build-scripts.yml'
- 'apple/**'
- 'scripts/**'
- 'tools/**'
- 'apple.sh'
- 'tvos.sh'
pull_request:
branches:
- main
paths-ignore:
- '**/README.md'
- 'docs/**'
paths:
- '.github/workflows/tvos-build-scripts.yml'
- 'apple/**'
- 'scripts/**'
- 'tools/**'
- 'apple.sh'
- 'tvos.sh'
jobs:
build-main-on-macos-bigsur: