use more specific paths in github workflows

pull/444/head^2
Taner Sener 3 years ago
parent 7b74fa295b
commit bccf4efebc
  1. 18
      .github/workflows/android-build-scripts.yml
  2. 20
      .github/workflows/ios-build-scripts.yml
  3. 20
      .github/workflows/macos-build-scripts.yml
  4. 12
      .github/workflows/periodic-builds-apple.yml
  5. 20
      .github/workflows/tvos-build-scripts.yml

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

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

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

@ -20,7 +20,7 @@ jobs:
with: with:
ref: ${{ matrix.branches }} ref: ${{ matrix.branches }}
- name: prerequisites - 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 - name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: set up cmake - name: set up cmake
@ -48,7 +48,7 @@ jobs:
with: with:
ref: ${{ matrix.branches }} ref: ${{ matrix.branches }}
- name: prerequisites - 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 - name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: run the build script - name: run the build script
@ -74,7 +74,7 @@ jobs:
with: with:
ref: ${{ matrix.branches }} ref: ${{ matrix.branches }}
- name: prerequisites - 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 - name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: run the build script - name: run the build script
@ -100,7 +100,7 @@ jobs:
with: with:
ref: ${{ matrix.branches }} ref: ${{ matrix.branches }}
- name: prerequisites - 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 - name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: run the build script - name: run the build script
@ -126,7 +126,7 @@ jobs:
with: with:
ref: ${{ matrix.branches }} ref: ${{ matrix.branches }}
- name: prerequisites - 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 - name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: run the build script - name: run the build script
@ -152,7 +152,7 @@ jobs:
with: with:
ref: ${{ matrix.branches }} ref: ${{ matrix.branches }}
- name: prerequisites - 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 - name: set up xcode
run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh run: echo "export DEVELOPER_DIR=/Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer" > ~/.xcode.for.ffmpeg.kit.sh
- name: run the build script - name: run the build script

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

Loading…
Cancel
Save