actions: buid with mingw on windows
- mingw build without backends - ninja build
This commit is contained in:
parent
28917075d0
commit
0c2f4b8d2f
|
@ -1,15 +1,30 @@
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
job:
|
||||||
|
name: ${{ matrix.os }}-cmake-build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, windows-latest]
|
||||||
|
include:
|
||||||
|
- os: windows-latest
|
||||||
|
CC: gcc
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: install alsa pulse and jack
|
- name: install alsa pulse and jack
|
||||||
run: sudo apt-get -y install libasound2-dev libpulse-dev libjack-dev
|
run: sudo apt-get -y install libasound2-dev libpulse-dev libjack-dev
|
||||||
- name: run-cmake
|
if: "contains( matrix.os, 'ubuntu')"
|
||||||
uses: lukka/run-cmake@v0.10
|
- name: run-cmake
|
||||||
|
uses: lukka/run-cmake@v0.10
|
||||||
|
if: "!contains( matrix.os, 'windows')"
|
||||||
|
- name: Run CMake+MinGW-w64
|
||||||
|
uses: lukka/run-cmake@v0.10
|
||||||
|
if: "contains( matrix.os, 'windows')"
|
||||||
|
with:
|
||||||
|
buildDirectory: '${{ runner.workspace }}/b/mingw-w64'
|
||||||
|
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
|
||||||
|
cmakeAppendedArgs: '-G "Ninja" -DWITH_ALSA=No -DWITH_PULSEAUDIO=No -DWITH_JACK=No'
|
||||||
|
|
Loading…
Reference in New Issue