aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2025-07-21 18:17:29 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2025-07-22 20:06:20 +0200
commit33e326ae02f3a7d6d61891d8f518facd6b3e6ed9 (patch)
treec70a0537c5092fe02a65fe98ce99b1c5bb9e5aac
parentc64f6812ebb53dd7e21b91c6a2ee2f02f5011792 (diff)
downloadffmpeg-33e326ae02f3a7d6d61891d8f518facd6b3e6ed9.tar.gz
forgejo/workflows: add initial rudimentary CI
It runs basic fate with no special dependencies enabled on x86_64 and aarch64.
-rw-r--r--.forgejo/workflows/test.yml39
-rw-r--r--.gitignore1
2 files changed, 40 insertions, 0 deletions
diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml
new file mode 100644
index 0000000000..1e6cbe09be
--- /dev/null
+++ b/.forgejo/workflows/test.yml
@@ -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)
diff --git a/.gitignore b/.gitignore
index 59c89da5e0..4aa49c52c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -45,3 +45,4 @@
/libavcodec/vulkan/*.c
/libavfilter/vulkan/*.c
/.*/
+!/.forgejo/