This commit is contained in:
Martin Rotter 2020-12-08 11:21:01 +01:00
parent a8e3f4bbe6
commit 4a241a4b17
2 changed files with 16 additions and 3 deletions

View File

@ -9,7 +9,7 @@ on:
jobs:
build-rssguard:
name: "Build RSS Guard on ${{ matrix.os }}"
name: "Build RSS Guard on ${{ matrix.os }} with ${{ matrix.qmake_args }}"
runs-on: "${{ matrix.os }}"
strategy:
matrix:
@ -24,5 +24,7 @@ jobs:
script_name: ./resources/scripts/github-actions/build-linux-mac.sh
steps:
- uses: actions/checkout@v2
- name: Compile app
with:
submodules: true
- name: Prepare environment and compile application
run: ${{ matrix.script_name }} "${{ matrix.os }}" "${{ matrix.qmake_args }}"

View File

@ -11,4 +11,15 @@ else
is_linux=false
fi
echo "OS: $os; qmake args: $qmake_args"
echo "OS: $os; qmake args: $qmake_args"
# Prepare environment.
if [ $is_linux = true ]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo add-apt-repository ppa:beineri/opt-qt-5.15.2-xenial -y
sudo apt-get update
sudo apt-get -y install gcc-7 g++-7 qt515tools qt515base qt515webengine
else
pip3 install aqtinstall
fi