Add and subtract epsilon from passband edges when looking up in bandp… #1818
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: CI | |
on: [push, pull_request] | |
jobs: | |
ubuntu-build: | |
name: Ubuntu CI | |
strategy: | |
matrix: | |
makefile: [Makefile.linux] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -y \ | |
libusb-dev \ | |
libusb-1.0-0-dev \ | |
libncurses5-dev \ | |
libfftw3-dev \ | |
libbsd-dev \ | |
libhackrf-dev \ | |
libogg-dev \ | |
libopus-dev \ | |
libairspy-dev \ | |
libairspyhf-dev \ | |
librtlsdr-dev \ | |
libiniparser-dev \ | |
libavahi-client-dev \ | |
portaudio19-dev \ | |
uuid-dev \ | |
libsamplerate-dev \ | |
libliquid-dev | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup | |
run: ln -s ${{ matrix.makefile }} Makefile | |
- name: Compile | |
run: make | |
- name: Install | |
run: sudo make install | |
macos-build: | |
name: MacOS CI | |
runs-on: macos-latest | |
steps: | |
- name: Install dependencies | |
run: | | |
brew update | |
brew install \ | |
glib \ | |
libusb \ | |
ncurses \ | |
fftw \ | |
hackrf \ | |
libogg \ | |
opus \ | |
airspy \ | |
airspyhf \ | |
librtlsdr \ | |
iniparser \ | |
portaudio \ | |
dbus \ | |
libsamplerate \ | |
liquid-dsp | |
cd /tmp | |
curl https://avahi.org/download/avahi-0.8.tar.gz > avahi-0.8.tar.gz | |
tar xvpf avahi-0.8.tar.gz | |
cd avahi-0.8 | |
sed -i '' 's/"\/run"/"\/var\/run"/' configure | |
CFLAGS="-D__APPLE_USE_RFC_2292 -I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib" ./configure \ | |
--with-distro=darwin \ | |
--disable-autoipd \ | |
--disable-gtk3 \ | |
--disable-libdaemon \ | |
--disable-mono \ | |
--disable-python \ | |
--disable-qt5 \ | |
--disable-silent-rules \ | |
--disable-tests | |
make -j4 | |
sudo make install | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup | |
run: ln -s Makefile.osx Makefile | |
- name: Compile | |
run: C_INCLUDE_PATH="$(brew --prefix)/include" LIBRARY_PATH="$(brew --prefix)/lib" make | |
- name: Install | |
run: sudo make install |