Merge branch 'fix/remove-ubuntu-18.04-from-ci' into develop #594
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
name: gstd CI | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
autotools: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-20.04 | |
include: | |
- os: ubuntu-22.04 | |
remove-unwind: fix-unwind | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- if: ${{ matrix.remove-unwind }} | |
run: sudo apt remove libunwind-14-dev | |
- name: Dependecies | |
run: | | |
sudo apt update | |
sudo apt install automake libtool pkg-config libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev | |
sudo apt install libglib2.0-dev libjson-glib-dev gtk-doc-tools libedit-dev libncursesw5-dev | |
sudo apt install libdaemon-dev libjansson-dev python3-pip python3-setuptools libsoup2.4-dev | |
- name: Generate | |
run: ./autogen.sh | |
- name: Configure | |
run: ./configure CFLAGS=-Werror | |
- name: Compile | |
run: make | |
- name: Checks | |
run: make check | |
- name: Install | |
run: sudo make install | |
- name: Check pygstc installation | |
run: python3 -c "import pygstc" | |
- name: List Pipelines Verification | |
run: | | |
gstd -e | |
gstd-client list_pipelines | |
meson: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-20.04 | |
include: | |
- os: ubuntu-22.04 | |
remove-unwind: fix-unwind | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- if: ${{ matrix.remove-unwind }} | |
run: sudo apt remove libunwind-14-dev | |
- name: Dependecies | |
run: | | |
sudo apt update | |
sudo apt install automake libtool pkg-config libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev | |
sudo apt install libglib2.0-dev libjson-glib-dev gtk-doc-tools libedit-dev libncursesw5-dev | |
sudo apt install libdaemon-dev libjansson-dev python3-pip python3-setuptools libsoup2.4-dev | |
sudo apt install ninja-build python3-wheel | |
sudo pip3 install meson | |
- name: Generate for Ubuntu 20.04 and above | |
run: meson --werror build -Dpython.install_env=auto | |
- name: Compile | |
run: ninja -C build | |
- name: Checks | |
run: ninja -C build test | |
- name: Install | |
run: sudo ninja -C build install | |
- name: Check pygstc installation | |
run: python3 -c "import pygstc" | |
- name: List Pipelines Verification | |
run: | | |
gstd -e | |
gstd-client list_pipelines |