mirror of
https://github.com/hanzoai/sharer.git
synced 2026-10-30 18:22:48 +00:00
github.com has no runner for hanzo-build-linux-amd64, so a caller under .github/workflows is a gate that can never be scheduled. This is the ~7-line caller on the plane that can (git.hanzo.ai git-runner fleet), pinned @v1. Co-authored-by: Hanzo Dev <[email protected]>
18 lines
813 B
YAML
18 lines
813 B
YAML
# Screen-share client — Rust, WebRTC + ffmpeg + a native GUI.
|
|
#
|
|
# Gate: it compiles. The build needs system libraries the runner image does not
|
|
# carry (ALSA for cpal, the ffmpeg dev headers for ac-ffmpeg, libxdo for enigo,
|
|
# OpenSSL for native-tls), so the gate installs them first. That apt line is part
|
|
# of the assertion, not setup around it: this crate cannot be built without them,
|
|
# and a gate that skipped them would be reporting on the runner image rather than
|
|
# on the code.
|
|
test:
|
|
- name: build
|
|
run: |
|
|
set -euo pipefail
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -y -qq pkg-config libssl-dev libasound2-dev libxdo-dev \
|
|
libavcodec-dev libavformat-dev libavutil-dev libavfilter-dev \
|
|
libavdevice-dev libswscale-dev libswresample-dev
|
|
cargo build --locked
|