Skip to content

Apply file filter to ffmpeg pipeline #13

Apply file filter to ffmpeg pipeline

Apply file filter to ffmpeg pipeline #13

Workflow file for this run

name: FFmpeg library
on:
push:
branches: [ master ]
paths:
- '.github/workflows/ffmpeg.yml'
- 'internal/builder/**'
permissions:
pull-requests: write
contents: write
jobs:
linux_amd64:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Install deps
run: sudo apt-get install -y yasm
- run: mkdir build
- name: Build
working-directory: build
run: go run ../internal/builder/ ../libffmpeg_linux_amd64.a
- run: ls -la
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: "[CI] Rebuild linux amd64 library"
body: Automated changes by CI pipeline.
commit-message: "[CI] Rebuild linux amd64 library"
committer: GitHub CI <noreply@github.com>
author: GitHub CI <noreply@github.com>
branch: ci/linux-amd64
add-paths: libffmpeg_linux_amd64.a
darwin_amd64:
runs-on: macos-12
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Install deps
run: brew install yasm
- run: mkdir build
- name: Build
working-directory: build
run: go run ../internal/builder/ ../libffmpeg_darwin_amd64.a
- run: ls -la
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: "[CI] Rebuild darwin amd64 library"
body: Automated changes by CI pipeline.
commit-message: "[CI] Rebuild darwin amd64 library"
committer: GitHub CI <noreply@github.com>
author: GitHub CI <noreply@github.com>
branch: ci/darwin-amd64
add-paths: libffmpeg_darwin_amd64.a
darwin_arm64:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Install deps
run: brew install yasm
- run: mkdir build
- name: Build
working-directory: build
run: go run ../internal/builder/ ../libffmpeg_darwin_arm64.a
- run: ls -la
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: "[CI] Rebuild darwin arm64 library"
body: Automated changes by CI pipeline.
commit-message: "[CI] Rebuild darwin arm64 library"
committer: GitHub CI <noreply@github.com>
author: GitHub CI <noreply@github.com>
branch: ci/darwin-arm64
add-paths: libffmpeg_darwin_arm64.a