librx888: extract streaming engine; firmware pinning, CI tests, gr-rx888 design docs #3
This file contains hidden or 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: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install build deps | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-recommends \ | |
| build-essential pkg-config libusb-1.0-0-dev | |
| - name: Build (librx888 + binaries) | |
| run: make all | |
| - name: Verify librx888 ABI | |
| run: | | |
| # Public symbol surface should match exactly what librx888.h declares. | |
| actual=$(nm -D --defined-only librx888.so | awk '/ T rx888_/ {print $3}' | sort) | |
| expected=$(printf '%s\n' \ | |
| rx888_close rx888_config_init_default rx888_get_stats \ | |
| rx888_open rx888_start rx888_stop rx888_strerror rx888_version \ | |
| | sort) | |
| diff <(echo "$actual") <(echo "$expected") | |
| - name: Run non-hardware tests | |
| run: make check |