From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 20B614B6AA for ; Mon, 21 Jul 2025 16:37:29 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id E266B68C5D9; Mon, 21 Jul 2025 19:37:25 +0300 (EEST) Received: from btbn.de (btbn.de [144.76.60.213]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 51B7F68BC49 for ; Mon, 21 Jul 2025 19:37:19 +0300 (EEST) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id 8FB7D28191037; Mon, 21 Jul 2025 18:37:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1753115838; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=jZb11aHEvEOk74i2+2YeeI+R5fN7HDDlhKvXiTOpL/M=; b=qnBbalEBNAKACj1d+TcehXUVjPfk0lpuLwTCv/lVAq+CZzH56RAWykhH9K4m8t8pJttNwC 7npabGYxqdZYEnONjRFRSwihhRP7XhL3aUZK0YiMM61YmSyXuEx+md75RvKiC7K2ZSsshV 1jog7RsmU09iPMhXXGIbqQrGQ804SUU+SGZh+9QECY40Gevfxm3fNQrp37NJIS61t3Fn7P 4nPtxwUM9NLc9lyimSXn1DDa6a9ok8Fn26p3h1DMpeo6EujBVcxJYBz61Y6ZcJXLawRbDB GkBnOA3JEcEyit0wkgZrkO6D9x86EMVfQL1GgENFx75lmt8p8XYGNSDjtWuA5A== From: Timo Rothenpieler To: ffmpeg-devel@ffmpeg.org Date: Mon, 21 Jul 2025 18:37:06 +0200 Message-ID: <20250721163710.888-1-timo@rothenpieler.org> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] forgejo/workflows: add initial rudimentary CI X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Timo Rothenpieler Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: It runs basic fate with no special dependencies enabled on x86_64 and aarch64. --- .forgejo/workflows/test.yml | 39 +++++++++++++++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 40 insertions(+) create mode 100644 .forgejo/workflows/test.yml diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml new file mode 100644 index 0000000000..f9e032b78c --- /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)" >> $GITHUB_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/ -- 2.49.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".