Skip to content

Work for ars electronica #547

Work for ars electronica

Work for ars electronica #547

Workflow file for this run

name: Build app
on: push
jobs:
buster:
name: Ubuntu build
runs-on: ubuntu-latest
container:
image: ubuntu:20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: |
apt-get update -qq
DEBIAN_FRONTEND="noninteractive" apt-get install -qq --force-yes git build-essential qt5-default qtbase5-dev qtdeclarative5-dev libqt5websockets5-dev qtquickcontrols2-5-dev qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qtquick2 qml-module-qtquick-dialogs qml-module-qtquick-extras qml-module-qt-websockets qml-module-qtqml-models2 qml-module-qt-labs-qmlmodels qml-module-qt-labs-settings qml-module-qtquick-layouts
- name: Build
run: |
mkdir /build
cd /build
qmake "$GITHUB_WORKSPACE/src"
make -j4
- name: Test
shell: bash
run: |
cd /build
(sleep 5 ; pkill -SIGTERM PFA11) &
(./PFA11 -platform minimal || [[ $? == 143 ]] && exit 0 || exit $?)