History

forgejo/workflows: add compile-only test for win64

Timo Rothenpieler committed 1 year ago

Commit 18174cb1 parent 9aed7381 file · +18 −0Browse files

Unified · Split

.forgejo/workflows/test.yml+18−0
@@ -39,3 +39,21 @@ jobs: · 38 unmodified lines
3939 key: fate-suite-${{ steps.fate.outputs.hash }}
4040 - name: Run Fate
4141 run: make fate SAMPLES=$PWD/fate-suite -j$(nproc)
42+ compile_only:
43+ strategy:
44+ fail-fast: false
45+ matrix:
46+ image: [ghcr.io/btbn/ffmpeg-builds/win64-gpl:latest]
47+ runs-on: linux-amd64
48+ container: ${{ matrix.image }}
49+ steps:
50+ - name: Checkout
51+ uses: actions/checkout@v4
52+ - name: Configure
53+ run: |
54+ ./configure --pkg-config-flags="--static" $FFBUILD_TARGET_FLAGS $FF_CONFIGURE \
55+ --cc="$CC" --cxx="$CXX" --ar="$AR" --ranlib="$RANLIB" --nm="$NM" \
56+ --extra-cflags="$FF_CFLAGS" --extra-cxxflags="$FF_CXXFLAGS" \
57+ --extra-libs="$FF_LIBS" --extra-ldflags="$FF_LDFLAGS" --extra-ldexeflags="$FF_LDEXEFLAGS"
58+ - name: Build
59+ run: make -j$(nproc)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t