rssguard/.github/workflows/rssguard.yml

30 lines
954 B
YAML
Raw Normal View History

2020-12-08 10:43:39 +01:00
---
name: rssguard
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build-rssguard:
2020-12-08 11:21:01 +01:00
name: "Build RSS Guard on ${{ matrix.os }} with ${{ matrix.qmake_args }}"
2020-12-08 10:43:39 +01:00
runs-on: "${{ matrix.os }}"
strategy:
matrix:
os: [windows-2019, ubuntu-16.04, macos-10.15]
2020-12-08 10:54:12 +01:00
qmake_args: ["USE_WEBENGINE=true"]
2020-12-08 10:43:39 +01:00
include:
- os: windows-2019
script_name: .\resources\scripts\github-actions\build-windows.ps1
- os: ubuntu-16.04
2020-12-08 10:45:02 +01:00
script_name: ./resources/scripts/github-actions/build-linux-mac.sh
2020-12-08 10:43:39 +01:00
- os: macos-10.15
2020-12-08 10:45:02 +01:00
script_name: ./resources/scripts/github-actions/build-linux-mac.sh
2020-12-08 10:43:39 +01:00
steps:
2020-12-08 10:48:44 +01:00
- uses: actions/checkout@v2
2020-12-08 11:21:01 +01:00
with:
submodules: true
- name: Prepare environment and compile application
2020-12-08 10:56:33 +01:00
run: ${{ matrix.script_name }} "${{ matrix.os }}" "${{ matrix.qmake_args }}"