gst: plug memory leak #942
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MSYS2 setup with actions is described here: | |
# https://github.com/marketplace/actions/setup-msys2 | |
name: Aravis-MinGW | |
on: | |
push: | |
branches: [ main, aravis-0-8 ] | |
pull_request: | |
branches: [ main, aravis-0-8 ] | |
workflow_dispatch: | |
jobs: | |
mingw: | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false # see all failures, not just the first one | |
matrix: | |
include: | |
- { sys: mingw64, env: x86_64 } | |
# - { sys: mingw32, env: i686 } # mingw32 is missing gst-plugins-good package, disabled for now | |
- { sys: ucrt64, env: ucrt-x86_64 } | |
# - { sys: clang64, env: clang-x86_64 } # clang64 is missing several packages, disabled for now | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- uses: msys2/setup-msys2@v2 | |
with: | |
msystem: ${{matrix.sys}} | |
release: true | |
path-type: minimal | |
update: false | |
install: >- | |
mingw-w64-${{matrix.env}}-toolchain | |
mingw-w64-${{matrix.env}}-gcc | |
mingw-w64-${{matrix.env}}-gobject-introspection | |
mingw-w64-${{matrix.env}}-meson | |
mingw-w64-${{matrix.env}}-gst-plugins-good | |
mingw-w64-${{matrix.env}}-gst-plugins-bad | |
mingw-w64-${{matrix.env}}-gstreamer | |
mingw-w64-${{matrix.env}}-gtk3 | |
mingw-w64-${{matrix.env}}-libxml2 | |
mingw-w64-${{matrix.env}}-zlib | |
mingw-w64-${{matrix.env}}-libusb | |
mingw-w64-${{matrix.env}}-gobject-introspection-runtime | |
mingw-w64-${{matrix.env}}-python-gobject | |
- uses: actions/checkout@v3 | |
- name: meson | |
run: | | |
mkdir build | |
meson --buildtype=plain -Ddocumentation=disabled -Dgst-plugin=enabled -Dintrospection=enabled -Dusb=enabled -Dviewer=enabled -Dgv-n-buffers=1 . ./build | |
- name: ninja install | |
run: | | |
ninja -C ./build --verbose install | |
- name: meson test | |
run: | | |
meson test -C ./build | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: ${{matrix.sys}}_Meson_Testlog | |
path: build/meson-logs/testlog.txt |