ffmpeg 6 #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build test | |
on: | |
push: | |
paths-ignore: | |
- '*.md' | |
jobs: | |
build-macos: | |
name: build in native macOS | |
runs-on: macos-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install deps | |
run: | | |
brew install nasm yasm pkg-config | |
- name: build ffmpeg | |
run: | | |
while sleep 300; do echo "=====[ $SECONDS seconds still running ]====="; done & | |
SKIPINSTALL=yes VERBOSE=yes ./build-ffmpeg --build | |
kill %1 | |
- name: check shared library | |
run: | | |
otool -L ./workspace/bin/ffmpeg | |
otool -L ./workspace/bin/ffprobe | |
- name: test run | |
run: | | |
./workspace/bin/ffmpeg -buildconf | |
./workspace/bin/ffprobe -buildconf | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
draft: true | |
files: | | |
workspace/bin/ffmpeg | |
workspace/bin/ffprobe | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |