Silence CMake version warning for libairspy submodule #175
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "C++ CI" | |
on: | |
push: | |
branches: | |
- '*' | |
paths-ignore: | |
- 'README**' | |
- 'doc/**' | |
- 'octave/**' | |
pull_request: | |
branches: | |
- '*' | |
paths-ignore: | |
- 'README**' | |
- 'doc/**' | |
- 'octave/**' | |
jobs: | |
build: | |
name: Build and install | |
runs-on: ${{ matrix.runner }} | |
strategy: | |
matrix: | |
runner: [ ubuntu-22.04, ubuntu-24.04 ] | |
steps: | |
- name: Install build requirements | |
run: sudo apt-get update ; sudo apt-get install -y g++ cmake git libusb-1.0-0-dev librtlsdr-dev libasound2-dev libfftw3-dev libfftw3-single3 libpopt-dev libairspy-dev libsigc++-2.0-dev | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- name: Configure | |
run: rm -rf build ; cmake -B build -DCMAKE_INSTALL_PREFIX=/usr | |
- name: Build | |
run: cd build && make | |
- name: Install | |
run: cd build && sudo make install | |
- name: Uninstall | |
run: cd build && sudo make uninstall |