mirror of
https://github.com/gqrx-sdr/gqrx.git
synced 2024-09-21 10:47:10 +00:00
Set up GitHub Actions
This commit is contained in:
parent
56b9633692
commit
40cf6ed2e2
35
.github/workflows/ci.yml
vendored
Normal file
35
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
name: CI
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
ubuntu-build:
|
||||
name: Ubuntu CI
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-16.04, ubuntu-18.04, ubuntu-20.04]
|
||||
backend: [Pulseaudio, Portaudio, Gr-audio]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get install -y cmake qt5-default libqt5svg5-dev libboost-dev libpulse-dev portaudio19-dev liblog4cpp5-dev gnuradio-dev gr-osmosdr gr-fcdproplus liborc-0.4-dev
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Configure
|
||||
run: mkdir build && cd build && cmake -DLINUX_AUDIO_BACKEND:STRING=${{ matrix.backend }} ..
|
||||
- name: Compile
|
||||
working-directory: build
|
||||
run: make
|
||||
macos-build:
|
||||
name: MacOS CI
|
||||
runs-on: macos-10.15
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: brew install gr-osmosdr
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Configure
|
||||
run: mkdir build && cd build && cmake ..
|
||||
- name: Compile
|
||||
working-directory: build
|
||||
run: make
|
Loading…
Reference in New Issue
Block a user