Skip to content

ci: add acceleration library installation and testing #29

ci: add acceleration library installation and testing

ci: add acceleration library installation and testing #29

Workflow file for this run

name: Tests
on:
- push
- pull_request
jobs:
tests:
strategy:
matrix:
zig-version: [ 0.13.0 ]
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
zig-version: ${{ matrix.zig-version }}
- name: Install VOLK and liquid-dsp
run: sudo apt-get install -y libvolk3.1t64 libliquid1
- name: Run Tests
id: tests1
run: ZIGRADIO_DEBUG=1 zig build test
- name: Test Output
run: echo ${{ steps.tests1.outputs.stderr }}
- name: Run Tests (VOLK disabled)
run: ZIGRADIO_DISABLE_VOLK=1 ZIGRADIO_DEBUG=1 zig build test
- name: Run Tests (liquid-dsp disabled)
run: ZIGRADIO_DISABLE_LIQUID=1 ZIGRADIO_DEBUG=1 zig build test
- name: Run Tests (VOLK disabled, liquid-dsp disabled)
run: ZIGRADIO_DISABLE_LIQUID=1 ZIGRADIO_DISABLE_VOLK=1 ZIGRADIO_DEBUG=1 zig build test