Skip to content

Commit 4a51fab

Browse files
committed
move arm64 validation into test workflow
1 parent 74bdbd7 commit 4a51fab

3 files changed

Lines changed: 26 additions & 66 deletions

File tree

.github/workflows/arm64-smoke.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,28 @@ jobs:
4444
- name: Run tests
4545
run: cargo test --verbose
4646

47+
arm64-smoke:
48+
name: ARM64 Build Smoke Test
49+
runs-on: ubuntu-24.04-arm
50+
steps:
51+
- uses: actions/checkout@v4
52+
53+
- name: Setup Rust toolchain
54+
uses: dtolnay/rust-toolchain@master
55+
with:
56+
toolchain: stable
57+
58+
- name: Set up cargo cache
59+
uses: Swatinem/rust-cache@v2
60+
with:
61+
key: ubuntu-24.04-arm-test
62+
63+
- name: Build
64+
run: cargo build --release --verbose
65+
66+
- name: Verify binary runs
67+
run: ./target/release/popcorn-cli --version
68+
4769
coverage:
4870
name: Code Coverage
4971
runs-on: ubuntu-latest

install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ fi
5454

5555
echo "✅ Detected OS: $OS ($(uname -m))"
5656

57-
# Allow overrides so CI can validate the installer against a locally built asset.
58-
DOWNLOAD_URL="${DOWNLOAD_URL:-https://github.com/gpu-mode/popcorn-cli/releases/latest/download/popcorn-cli-${OS}${EXTENSION}}"
59-
TEMP_DIR="${TEMP_DIR:-/tmp/popcorn-cli-install}"
60-
INSTALL_DIR="${INSTALL_DIR:-$HOME/.local/bin}"
57+
# Download URL
58+
DOWNLOAD_URL="https://github.com/gpu-mode/popcorn-cli/releases/latest/download/popcorn-cli-${OS}${EXTENSION}"
59+
TEMP_DIR="/tmp/popcorn-cli-install"
60+
INSTALL_DIR="$HOME/.local/bin"
6161

6262
# Create directories
6363
mkdir -p "$TEMP_DIR"

0 commit comments

Comments
 (0)