[hbbtv] #610
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: oe-alliance plugins | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
build: | |
name: Build oe-alliance plugins | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
gcc: [11,12,13] | |
python: ['3.10','3.11','3.12'] | |
steps: | |
- name: Install prerequisites | |
run: | | |
sudo add-apt-repository -y ppa:deadsnakes/ppa | |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test | |
sudo apt-get -q update | |
sudo apt remove -y libunwind-14-dev | |
sudo apt-get install -y g++-${{ matrix.gcc }} build-essential autoconf autotools-dev gettext python${{ matrix.python }}-dev libntirpc-dev | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Build plugins, gcc-${{ matrix.gcc }}, python ${{ matrix.python }} | |
env: | |
CC: "gcc-${{ matrix.gcc }}" | |
CXX: "g++-${{ matrix.gcc }}" | |
run: | | |
pip3 install six | |
autoreconf -i | |
./configure | |
make | |
python -m compileall . |