Skip to content

Commit

Permalink
Add build for aarch64 (arm 64 bit) (#6)
Browse files Browse the repository at this point in the history
* Drop build for armv6
* Bump to 0.3.1
  • Loading branch information
MattBlack85 authored Dec 23, 2021
1 parent b573349 commit 16d6425
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
include:
- TARGET: x86_64-unknown-linux-gnu # tested in a debian container on a mac
OS: ubuntu-latest
SHORT_NAME: amd64
- TARGET: armv7-unknown-linux-gnueabihf # raspberry pi 2-3-4, not tested
SHORT_NAME: linux-amd64
- TARGET: armv7-unknown-linux-gnueabihf # raspberry 32bit
OS: ubuntu-latest
SHORT_NAME: armv7
- TARGET: arm-unknown-linux-gnueabihf # raspberry pi 0-1, not tested
- TARGET: aarch64-unknown-linux-gnu # raspberry 64bit
OS: ubuntu-latest
SHORT_NAME: armv6
SHORT_NAME: arm64
- TARGET: x86_64-apple-darwin # tested on a mac, is not properly signed so there are security warnings
OS: macos-latest
SHORT_NAME: macos
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "astromonitor"
version = "0.3.0"
version = "0.3.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
12 changes: 6 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ case $OS in
Linux)
case $MACHINE in
x86_64)
ARCH=amd64
ARCH=linux-amd64
;;
armv7)
ARCH=$OS;
armv7l)
ARCH=armv7
;;
armv6)
ARCH=$OS
aarch64)
ARCH=arm64
esac
;;
Darwin)
Expand All @@ -29,4 +29,4 @@ esac
wget https://github.com/MattBlack85/astro_monitor/releases/download/$VERSION/$PACKAGE_NAME-$ARCH-$VERSION.$EXTENSION
tar -xvzf astromonitor*.tar.gz
rm astromonitor*tar.gz
sudo mv astromonitor /usr/bin/
sudo mv astromonitor /usr/local/bin/

0 comments on commit 16d6425

Please sign in to comment.