From e3cab32c75c04c2b81d3b34e4bb59b912f804243 Mon Sep 17 00:00:00 2001 From: Delicious233 <101502465+DeliciousBuding@users.noreply.github.com> Date: Tue, 20 Oct 2026 01:28:17 +0800 Subject: [PATCH] ci: build and test on linux/arm64 (#58) Co-authored-by: Codex --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e31f25..5882027 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,3 +95,22 @@ jobs: - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - run: cargo test --locked --features inproc-av + + test-linux-arm64: + # aarch64 hosts (Ampere A1, arm64 VMs, Apple-silicon VMs) build from source, so keep that + # build honest on a native arm64 runner instead of letting it rot between releases. + runs-on: ubuntu-24.04-arm + steps: + - uses: actions/checkout@v4 + - name: Install build dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential pkg-config \ + libx11-dev libxext-dev libxtst-dev libxfixes-dev libgtk-3-dev + - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 + - run: cargo test --locked + - name: Release binary + run: | + cargo build --locked --release --bin uuremote-server + file target/release/uuremote-server