mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-01 02:48:05 +01:00
38 lines
1.3 KiB
YAML
Executable File
38 lines
1.3 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: tst
|
|
if: runner.os == 'Windows'
|
|
shell: cmd
|
|
run: | call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
|
- name: Prepare environment and compile application
|
|
run: ${{ matrix.script_name }} "${{ matrix.os }}" "${{ matrix.use_webengine }}" |