rssguard/.github/workflows/rssguard.yml
Martin Rotter d1752f61d6 Actions
2020-12-08 12:44:28 +01:00

34 lines
1.1 KiB
YAML
Executable File

---
name: rssguard
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build-rssguard:
name: "${{ matrix.os }}; webengine = ${{ matrix.use_webengine }}"
runs-on: "${{ matrix.os }}"
strategy:
matrix:
os: [windows-2019, ubuntu-16.04, macos-10.15]
use_webengine: ["true", "false"]
include:
- os: windows-2019
script_name: .\resources\scripts\github-actions\build-windows.ps1
- os: ubuntu-16.04
script_name: ./resources/scripts/github-actions/build-linux-mac.sh
- os: macos-10.15
script_name: ./resources/scripts/github-actions/build-linux-mac.sh
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: true
- name: Add msbuild to PATH
if: runner.os == 'Windows'
uses: microsoft/setup-msbuild@v1.0.2
- name: Prepare environment and compile application
run: ${{ matrix.script_name }} "${{ matrix.os }}" "${{ matrix.use_webengine }}"