Initial OS X CI test #13
Workflow file for this run
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
# | |
# Stripped down version of the official hackrf workflow. | |
# | |
name: Build (Linux) | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
# Run automatically every monday | |
schedule: | |
- cron: 1 12 * * 1 | |
jobs: | |
host: | |
strategy: | |
matrix: | |
os: ['ubuntu-latest'] | |
# Don't cancel all builds when one fails | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies (Ubuntu) | |
run: | | |
sudo apt update | |
sudo apt install libfftw3-dev libhackrf-dev libczmq-dev libzmq5 libzmq3-dev libmsgpack-dev | |
if: matrix.os == 'ubuntu-latest' | |
- name: Create Build Environment | |
run: cmake -E make_directory ${{github.workspace}}/build | |
- name: Configure CMake | |
working-directory: ${{github.workspace}}/build | |
run: cmake $GITHUB_WORKSPACE/ -DCMAKE_BUILD_TYPE=Release | |
if: matrix.os != 'windows-latest' | |
- name: Build | |
working-directory: ${{github.workspace}}/build | |
run: cmake --build . --config Release | |
- name: Install | |
working-directory: ${{github.workspace}}/build | |
run: | | |
sudo cmake --install . --config Release | |
if: matrix.os != 'windows-latest' |