From 54a88465ae757182f20d48f26ccd1fbbe5d1305a Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Mon, 10 Feb 2020 23:54:40 +0100 Subject: [PATCH 1/2] Drop broken integration with Travis CI --- .travis.yaml | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 .travis.yaml diff --git a/.travis.yaml b/.travis.yaml deleted file mode 100644 index bde247f..0000000 --- a/.travis.yaml +++ /dev/null @@ -1,13 +0,0 @@ -language: c++ -dist: xenial - -addons: - apt: - sources: - - sourceline: deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse - - sourceline: deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted - -before_install: - - sudo apt update - - sudo apt install -y build-essential subversion git qtchooser qt5-default libapr1 libapr1-dev libsvn-dev -script: qmake && make From 37695d35e91cbd1429ab31458b41640a36f6e0f8 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Mon, 10 Feb 2020 23:55:09 +0100 Subject: [PATCH 2/2] Cover "qmake && make && make install" on Ubuntu 18.04 using GitHub Actions --- .github/workflows/build.yaml | 54 ++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..5ab694d --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,54 @@ +# +# Copyright (C) 2020 Sebastian Pipping +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +name: Build (Linux, Ubuntu 18.04) + +on: +- pull_request +- push + +jobs: + build: + name: Build (Linux, Ubuntu 18.04) + runs-on: ubuntu-18.04 + steps: + - name: 'Install build dependencies' + run: |- + set -e + sudo apt-get update + sudo apt-get install --yes --no-install-recommends \ + build-essential \ + libapr1-dev \ + libsvn-dev \ + qt5-default \ + qtbase5-dev + + - name: 'Checkout Git branch' + uses: actions/checkout@v2.0.0 + + - name: 'Configure' + run: |- + qmake + + - name: 'Build' + run: |- + make + + - name: 'Install' + run: |- + set -e + make INSTALL_ROOT="${PWD}"/ROOT install + find ROOT | sort