feat: use dbus for notifications #7
Workflow file for this run
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: C/C++ CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Dependencies | |
run: sudo apt-get install tree cmake qt4-dev-tools qtbase5-dev libxss-dev libxrandr-dev | |
- name: Build | |
run: | | |
export CWD=`pwd` | |
mkdir $CWD/build-release-qt5 | |
cd $CWD/build-release-qt5 | |
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. | |
make | |
make DESTDIR=`pwd`/pkg install | |
tree pkg | |
mkdir $CWD/build-debug-qt5 | |
cd $CWD/build-debug-qt5 | |
cmake -DCMAKE_BUILD_TYPE=Debug .. | |
make | |
mkdir $CWD/build-release-qt4 | |
cd $CWD/build-release-qt4 | |
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DUSE_QT5=off .. | |
make | |
make DESTDIR=`pwd`/pkg install | |
tree pkg | |
mkdir $CWD/build-debug-qt4 | |
cd $CWD/build-debug-qt4 | |
cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_QT5=off .. | |
make |