mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-29 00:30:12 +01:00
Actions
This commit is contained in:
parent
a8e3f4bbe6
commit
4a241a4b17
6
.github/workflows/rssguard.yml
vendored
6
.github/workflows/rssguard.yml
vendored
@ -9,7 +9,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-rssguard:
|
build-rssguard:
|
||||||
name: "Build RSS Guard on ${{ matrix.os }}"
|
name: "Build RSS Guard on ${{ matrix.os }} with ${{ matrix.qmake_args }}"
|
||||||
runs-on: "${{ matrix.os }}"
|
runs-on: "${{ matrix.os }}"
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -24,5 +24,7 @@ jobs:
|
|||||||
script_name: ./resources/scripts/github-actions/build-linux-mac.sh
|
script_name: ./resources/scripts/github-actions/build-linux-mac.sh
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- 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 }}"
|
run: ${{ matrix.script_name }} "${{ matrix.os }}" "${{ matrix.qmake_args }}"
|
@ -11,4 +11,15 @@ else
|
|||||||
is_linux=false
|
is_linux=false
|
||||||
fi
|
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
|
Loading…
x
Reference in New Issue
Block a user