From da9eb1d5ac51218b12bf5ce7b3c04206574c91db Mon Sep 17 00:00:00 2001 From: Ruslan Migirov Date: Sat, 24 Aug 2024 18:59:05 +0300 Subject: [PATCH] Github actions: Add macos CI --- .github/workflows/cmake.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 508f7073..85c13ceb 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -165,3 +165,26 @@ jobs: with: name: soapy-package path: SDDC_SOAPY.ZIP + + build-on-macos: + runs-on: macos-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install dependencies + run: | + brew update + brew install soapysdr + brew install fftw + + - name: Build SoapySDR Module + run: | + mkdir -p build + cd build + cmake -DCMAKE_INSTALL_PREFIX=$(brew --prefix) .. + sudo make install + + - name: Check SoapySDR Installation + run: | + SoapySDRUtil --info