also looking at this
feat(media): add bounded PCM capture, owned snapshots and A/V streaming
#917
11 files
+683
-0
| @@ -0,0 +1,29 @@ | ||
| 1 | name: Streaming A/V modules | |
| 2 | on: | |
| 3 | push: | |
| 4 | branches: [feat/pcm-av-streaming] | |
| 5 | pull_request: | |
| 6 | paths: ['packages/video/src/containers/av_stream.zig', 'packages/video/src/core/pcm_timeline.zig', 'packages/video/src/core/recording_policy.zig', 'packages/audio/src/io/native_capture*', '.github/workflows/streaming-av.yml'] | |
| 7 | permissions: | |
| 8 | contents: read | |
| 9 | jobs: | |
| 10 | modules: | |
| 11 | strategy: | |
| 12 | fail-fast: false | |
| 13 | matrix: | |
| 14 | os: [ubuntu-24.04, ubuntu-24.04-arm] | |
| 15 | zig: ['0.15.2', 'master'] | |
| 16 | runs-on: ${{ matrix.os }} | |
| 17 | steps: | |
| 18 | - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 | |
| 19 | - uses: mlugg/setup-zig@d1434d08867e3ee9daa34448df10607b98908d29 | |
| 20 | with: | |
| 21 | version: ${{ matrix.zig }} | |
| 22 | - run: sudo apt-get update && sudo apt-get install -y libasound2-dev | |
| 23 | - run: | | |
| 24 | zig test packages/video/src/core/pcm_timeline.zig | |
| 25 | zig test packages/video/src/core/recording_policy.zig | |
| 26 | zig test packages/video/src/containers/av_stream.zig | |
| 27 | cc -std=c11 -Wall -Wextra -Werror packages/audio/src/io/native_capture.c packages/audio/src/io/native_capture_test.c -lasound -o /tmp/home-capture-test | |
| 28 | /tmp/home-capture-test | |
| 29 | zig test packages/audio/src/io/native_capture.zig packages/audio/src/io/native_capture.c -lc -lasound | |