diff options
author | Timo Rothenpieler <[email protected]> | 2025-08-01 19:45:19 +0200 |
---|---|---|
committer | Timo Rothenpieler <[email protected]> | 2025-08-01 20:49:57 +0200 |
commit | 18174cbae8282de0e45cbc6490967f6fb545fe21 (patch) | |
tree | 2fc856aeb8101af0688cc672dfad1b86b0dade85 | |
parent | 9aed7383bd22b470c1b556d0d968af44df62e322 (diff) |
forgejo/workflows: add compile-only test for win64
-rw-r--r-- | .forgejo/workflows/test.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 8b870ba580..119726e9ca 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -39,3 +39,21 @@ jobs: key: fate-suite-${{ steps.fate.outputs.hash }} - name: Run Fate run: make fate SAMPLES=$PWD/fate-suite -j$(nproc) + compile_only: + strategy: + fail-fast: false + matrix: + image: [ghcr.io/btbn/ffmpeg-builds/win64-gpl:latest] + runs-on: linux-amd64 + container: ${{ matrix.image }} + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Configure + run: | + ./configure --pkg-config-flags="--static" $FFBUILD_TARGET_FLAGS $FF_CONFIGURE \ + --cc="$CC" --cxx="$CXX" --ar="$AR" --ranlib="$RANLIB" --nm="$NM" \ + --extra-cflags="$FF_CFLAGS" --extra-cxxflags="$FF_CXXFLAGS" \ + --extra-libs="$FF_LIBS" --extra-ldflags="$FF_LDFLAGS" --extra-ldexeflags="$FF_LDEXEFLAGS" + - name: Build + run: make -j$(nproc) |