Skip to content

Enable pcm_s16le encoder #4

Enable pcm_s16le encoder

Enable pcm_s16le encoder #4

Workflow file for this run

name: Build static ffmpeg
on:
push:
pull_request:
jobs:
package-linux:
runs-on: ubuntu-20.04
strategy:
matrix:
arch:
- x86_64
env:
ARCH: ${{ matrix.arch }}
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update -y && \
sudo apt-get install -y yasm
- name: Build
run: ./build-linux.sh
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: ffmpeg-linux-${{ env.ARCH }}
path: artifacts/
release:
runs-on: ubuntu-latest
needs:
- package-linux
steps:
- uses: actions/download-artifact@v4
with:
path: artifacts/
- name: Make tarballs
run: |
mkdir artifacts/release/
cd artifacts/
for dir in ffmpeg-*/ffmpeg-*
do
name=$(basename $dir)
tar czf release/$name.tar.gz -C $(dirname $dir) $name
done
ls -l release/
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
files: artifacts/release/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}