Update TODO #171
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/C++ CI" | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- 'README**' | |
- 'doc/**' | |
- 'octave/**' | |
pull_request: | |
branches: [ main ] | |
paths-ignore: | |
- 'README**' | |
- 'doc/**' | |
- 'octave/**' | |
jobs: | |
build: | |
name: Build and install | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
runner: [ ubuntu-20.04, ubuntu-22.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 repository | |
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 |