You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
forgejo/workflows: add initial rudimentary CI
It runs basic fate with no special dependencies enabled on x86_64 and aarch64.
This commit is contained in:
39
.forgejo/workflows/test.yml
Normal file
39
.forgejo/workflows/test.yml
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run_fate:
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
runner: [linux-amd64,linux-aarch64]
|
||||||
|
runs-on: ${{ matrix.runner }}
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Configure
|
||||||
|
run: ./configure
|
||||||
|
- name: Build
|
||||||
|
run: make -j$(nproc)
|
||||||
|
- name: Restore Cached Fate-Suite
|
||||||
|
uses: actions/cache/restore@v4
|
||||||
|
with:
|
||||||
|
path: fate-suite
|
||||||
|
key: fate-suite
|
||||||
|
restore-keys: |
|
||||||
|
fate-suite-
|
||||||
|
- name: Sync Fate-Suite
|
||||||
|
id: fate
|
||||||
|
run: |
|
||||||
|
make fate-rsync SAMPLES=$PWD/fate-suite
|
||||||
|
echo "hash=$(find fate-suite -type f | sha256sum | cut -d' ' -f1)" >> $FORGEJO_OUTPUT
|
||||||
|
- name: Cache Fate-Suite
|
||||||
|
uses: actions/cache/save@v4
|
||||||
|
with:
|
||||||
|
path: fate-suite
|
||||||
|
key: fate-suite-${{ steps.fate.outputs.hash }}
|
||||||
|
- name: Run Fate
|
||||||
|
run: make fate SAMPLES=$PWD/fate-suite -j$(nproc)
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -45,3 +45,4 @@
|
|||||||
/libavcodec/vulkan/*.c
|
/libavcodec/vulkan/*.c
|
||||||
/libavfilter/vulkan/*.c
|
/libavfilter/vulkan/*.c
|
||||||
/.*/
|
/.*/
|
||||||
|
!/.forgejo/
|
||||||
|
Reference in New Issue
Block a user