Skip to content

Commit

Permalink
Enable apple m1 build release
Browse files Browse the repository at this point in the history
  • Loading branch information
shantanugoel committed Jun 15, 2021
1 parent 5336391 commit 67b844f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ jobs:
architecture: x86_64
binary-postfix: ""
use-cross: false
- os: macos-latest
os-name: macos
target: aarch64-apple-darwin
architecture: arm64
binary-postfix: ""
use-cross: false
- os: ubuntu-latest
os-name: linux
target: x86_64-unknown-linux-gnu
Expand Down Expand Up @@ -57,6 +63,10 @@ jobs:
- name: Install dependencies
shell: bash
run: |
if [[ ${{ matrix.job.target }} == aarch64-apple-darwin ]]; then
rustup target add aarch64-apple-darwin
sudo xcode-select -s /Applications/Xcode_12.4.app && sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*
fi
if [[ ${{ matrix.job.os }} == ubuntu-latest ]]; then
sudo apt update
sudo apt-get install -y libdbus-1-dev
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ $ sleep 5 || sup -m "Hello world!" # Send notification only on failure

# Currently supported architectures
- x86_64
- aarch64 (e.g. Raspberry Pi 4b)
- aarch64 (e.g. Raspberry Pi 4b, Apple M1)

## Currently supported notification targets
- local (i.e. System notifications, this is provided by the great `notifica` crate)
Expand Down Expand Up @@ -79,7 +79,6 @@ OPTIONS:

# TODO
- [ ] Add support for 32b (aarch32 and i686/386) linux builds
- [ ] Add support for Apple M1 builds
- [ ] Add custom webhook destination
- [ ] Add tests
- [ ] Add documentation
Expand Down

0 comments on commit 67b844f

Please sign in to comment.