Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/workflows/arm64-smoke.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: ARM64 Smoke Test

on:
pull_request:
branches: [main]
paths:
- ".github/workflows/**"
- ".cargo/**"
- "Cargo.toml"
- "Cargo.lock"
- "build.rs"
- "install.sh"
- "src/**"
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

jobs:
arm64-linux:
name: Native ARM64 Linux Smoke Test
runs-on: ubuntu-24.04-arm

steps:
- uses: actions/checkout@v4

- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable

- name: Set up cargo cache
uses: Swatinem/rust-cache@v2
with:
key: ubuntu-24.04-arm-smoke

- name: Build ARM64 binary
run: cargo build --release

- name: Package expected release asset
run: |
mkdir -p dist
cp target/release/popcorn-cli dist/popcorn-cli
chmod +x dist/popcorn-cli
tar -czf popcorn-cli-linux-aarch64.tar.gz -C dist popcorn-cli

- name: Verify packaged binary runs
run: |
mkdir -p smoke
tar -xzf popcorn-cli-linux-aarch64.tar.gz -C smoke
./smoke/popcorn-cli --version
Loading