steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v1
+ with:
+ python-version: '3.x'
- name: install minimal requirements
run: |
sudo apt-get update && \
sudo apt-get install -y libglib2.0-dev libjson-glib-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev googletest \
- gstreamer1.0-plugins-good clang meson ninja-build
- - name: meson build with llvm/clang
- run: |
- CC=clang CXX=clang++ meson build && \
- ninja test -C build
+ gstreamer1.0-plugins-good clang
+ - run: pip install meson ninja
+ - run: meson setup build/
+ env:
+ CC: clang
+ CXX: clang++
+ - run: meson compile -C build/
+ - run: meson test -C build/ -v
+ - uses: actions/upload-artifact@v1
+ if: failure()
+ with:
+ name: Meson_LLVM_Testlog
+ path: build/meson-logs/testlog.txt
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v1
+ with:
+ python-version: '3.x'
- name: install minimal requirements
run: |
sudo apt-get update && \
sudo apt-get install -y libglib2.0-dev libjson-glib-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev googletest \
gstreamer1.0-plugins-good
- - uses: BSFishy/meson-build@v1.0.3
+ - run: pip install meson ninja
+ - run: meson setup build/
+ env:
+ CC: gcc
+ - run: meson compile -C build/
+ - run: meson test -C build/ -v
+ - uses: actions/upload-artifact@v1
+ if: failure()
with:
- action: test
+ name: Meson_Testlog
+ path: build/meson-logs/testlog.txt
# TODO: add more subplugins to be built
# TODO: add unit testing