add svtav1 and silicon #49
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' | |
workflow_dispatch: | |
jobs: | |
build-macos: | |
name: build in native macOS | |
runs-on: macos-14 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install deps | |
run: | | |
brew install nasm yasm pkg-config cmake | |
- 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: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: MacOS | |
path: | | |
workspace/bin/ffmpeg | |
workspace/bin/ffprobe | |
- 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 }} |