Skip to content

CI: Migrate to GitHub Actions #14

CI: Migrate to GitHub Actions

CI: Migrate to GitHub Actions #14

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
config:
- name: Linux py3.5 qt5.15
os: linux
runner: ubuntu-20.04
python: 3.5
qt: 5.14.2
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.runner }}
# container:
# image: ${{ matrix.config.image }}
env:
OS: ${{ matrix.config.os }}
QT_SELECT: ${{ matrix.config.qt }}
FUNQ_CXXFLAGS: "-Wall -Wextra -Werror" # make CI fail on warnings
steps:
- uses: actions/checkout@v2
- name: Install Python ${{ matrix.config.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.config.python }}
architecture: 'x64'
- run: source ./ci/install_dependencies.sh # source because of exports
- run: |
python --version
qmake --version
- run: |
cd server
flake8 funq_server
python setup.py install
cd tests
qmake QMAKE_CXXFLAGS="$FUNQ_CXXFLAGS"
make -j8
make check
- run: |
cd client
flake8 funq
python setup.py install
python setup.py test
- run: |
cd tests-functionnal/funq-test-app
qmake QMAKE_CXXFLAGS="$FUNQ_CXXFLAGS"
make -j8
cd ..
nosetests