Skip to content

test(compat): lossmaxttl baseline A/B calibration + gain-hunt scaffold #82

test(compat): lossmaxttl baseline A/B calibration + gain-hunt scaffold

test(compat): lossmaxttl baseline A/B calibration + gain-hunt scaffold #82

Workflow file for this run

name: Build Check
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
concurrency:
group: build-check-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build ${{ matrix.arch }}
runs-on: ${{ matrix.runner }}
strategy:
matrix:
include:
- arch: amd64
runner: ubuntu-latest
- arch: arm64
runner: ubuntu-24.04-arm
steps:
- name: Checkout code
uses: actions/checkout@v7
with:
submodules: recursive
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential cmake git ccache
- name: Cache ccache
uses: actions/cache@v5
with:
path: ~/.ccache
key: ccache-${{ runner.os }}-${{ matrix.arch }}-${{ github.sha }}
restore-keys: |
ccache-${{ runner.os }}-${{ matrix.arch }}-
- name: Build srtla
run: |
cmake -B build -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
cmake --build build -j"$(nproc)"
- name: Run tests
run: |
cd build
ctest --output-on-failure
- name: Verify binaries
run: |
ls -la build/srtla_send build/srtla_rec
file build/srtla_send build/srtla_rec
- name: Build Summary
run: |
{
echo "## ✅ Build Check Passed"
echo ""
echo "**Architecture:** ${{ matrix.arch }}"
echo "**Runner:** ${{ matrix.runner }}"
} >> "$GITHUB_STEP_SUMMARY"