From bccf4efebc371112d3146ad206b2bb9153c168b8 Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Sun, 15 May 2022 13:08:38 +0100 Subject: [PATCH] use more specific paths in github workflows --- .github/workflows/android-build-scripts.yml | 18 ++++++++++++------ .github/workflows/ios-build-scripts.yml | 20 ++++++++++++++------ .github/workflows/macos-build-scripts.yml | 20 ++++++++++++++------ .github/workflows/periodic-builds-apple.yml | 12 ++++++------ .github/workflows/tvos-build-scripts.yml | 20 ++++++++++++++------ 5 files changed, 60 insertions(+), 30 deletions(-) diff --git a/.github/workflows/android-build-scripts.yml b/.github/workflows/android-build-scripts.yml index 940f6a3..c5ca558 100644 --- a/.github/workflows/android-build-scripts.yml +++ b/.github/workflows/android-build-scripts.yml @@ -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: diff --git a/.github/workflows/ios-build-scripts.yml b/.github/workflows/ios-build-scripts.yml index 2c27abb..3d2f0f6 100644 --- a/.github/workflows/ios-build-scripts.yml +++ b/.github/workflows/ios-build-scripts.yml @@ -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: diff --git a/.github/workflows/macos-build-scripts.yml b/.github/workflows/macos-build-scripts.yml index dc646cc..39d7e55 100644 --- a/.github/workflows/macos-build-scripts.yml +++ b/.github/workflows/macos-build-scripts.yml @@ -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: diff --git a/.github/workflows/periodic-builds-apple.yml b/.github/workflows/periodic-builds-apple.yml index 7b770ac..701a91f 100644 --- a/.github/workflows/periodic-builds-apple.yml +++ b/.github/workflows/periodic-builds-apple.yml @@ -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 diff --git a/.github/workflows/tvos-build-scripts.yml b/.github/workflows/tvos-build-scripts.yml index 8ef230f..a8523c7 100644 --- a/.github/workflows/tvos-build-scripts.yml +++ b/.github/workflows/tvos-build-scripts.yml @@ -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: