Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ jobs:
compress_cmd: tar -czf
compress_ext: .tar.gz

- os: ubuntu-latest
target: aarch64-unknown-linux-gnu
artifact_name: popcorn-cli
asset_name: popcorn-cli-linux-aarch64.tar.gz
compress_cmd: tar -czf
compress_ext: .tar.gz

steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -129,6 +136,7 @@ jobs:
name: Release ${{ needs.version.outputs.new_tag }}
files: |
popcorn-cli-linux.tar.gz/popcorn-cli-linux.tar.gz
popcorn-cli-linux-aarch64.tar.gz/popcorn-cli-linux-aarch64.tar.gz
popcorn-cli-windows.zip/popcorn-cli-windows.zip
popcorn-cli-macos.tar.gz/popcorn-cli-macos.tar.gz
env:
Expand Down
9 changes: 7 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ SYMLINK_NAME=""
EXTENSION=""

if [[ "$OSTYPE" == "linux-gnu"* ]]; then
OS="linux"
ARCH=$(uname -m)
if [[ "$ARCH" == "aarch64" || "$ARCH" == "arm64" ]]; then
OS="linux-aarch64"
else
OS="linux"
fi
EXTENSION=".tar.gz"
BINARY_NAME="popcorn-cli"
SYMLINK_NAME="popcorn"
Expand All @@ -47,7 +52,7 @@ else
exit 1
fi

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

# Download URL
DOWNLOAD_URL="https://github.com/gpu-mode/popcorn-cli/releases/latest/download/popcorn-cli-${OS}${EXTENSION}"
Expand Down
Loading