File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : ARM64 Smoke Test
2+
3+ on :
4+ pull_request :
5+ branches : [main]
6+ paths :
7+ - " .github/workflows/**"
8+ - " .cargo/**"
9+ - " Cargo.toml"
10+ - " Cargo.lock"
11+ - " build.rs"
12+ - " install.sh"
13+ - " src/**"
14+ workflow_dispatch :
15+
16+ env :
17+ CARGO_TERM_COLOR : always
18+
19+ jobs :
20+ arm64-linux :
21+ name : Native ARM64 Linux Smoke Test
22+ runs-on : ubuntu-24.04-arm
23+
24+ steps :
25+ - uses : actions/checkout@v4
26+
27+ - name : Setup Rust toolchain
28+ uses : dtolnay/rust-toolchain@master
29+ with :
30+ toolchain : stable
31+
32+ - name : Set up cargo cache
33+ uses : Swatinem/rust-cache@v2
34+ with :
35+ key : ubuntu-24.04-arm-smoke
36+
37+ - name : Build ARM64 binary
38+ run : cargo build --release
39+
40+ - name : Package expected release asset
41+ run : |
42+ mkdir -p dist
43+ cp target/release/popcorn-cli dist/popcorn-cli
44+ chmod +x dist/popcorn-cli
45+ tar -czf popcorn-cli-linux-aarch64.tar.gz -C dist popcorn-cli
46+
47+ - name : Verify packaged binary runs
48+ run : |
49+ mkdir -p smoke
50+ tar -xzf popcorn-cli-linux-aarch64.tar.gz -C smoke
51+ ./smoke/popcorn-cli --version
You can’t perform that action at this time.
0 commit comments