Skip to content

Fix cmake version range #36

Fix cmake version range

Fix cmake version range #36

Workflow file for this run

name: compilation
on:
pull_request:
branches: [master]
push:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
build-type: [Debug, Release]
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install cmake gcc build-essential libfftw3-dev libconfig-dev libasound2-dev gfortran texinfo pulseaudio libpulse-dev
- name: Create build directory
run: |
mkdir build
- name: Run CMake and build odas
working-directory: build
run: |
cmake ../ -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DCMAKE_INSTALL_PREFIX=install
make -j2
make install