Add macOS ARM builds to CI

This commit is contained in:
Christian Duerr authored and GitHub committed 2021-08-17 18:04:46 +00:00
1 parent c24d7dfd0d
commit abed2e9748
5 files changed
+52 -16

No files matched your search

+8
View File
@@ -25,3 +25,11 @@ jobs:
run: |
rustup component add clippy
cargo clippy --all-targets
check-macos-arm:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: Install target
run: rustup update && rustup target add aarch64-apple-darwin
- name: Check build
run: cargo check --target=aarch64-apple-darwin
+7 -3
View File
@@ -10,14 +10,18 @@ env:
jobs:
macos:
runs-on: macos-latest
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: Install ARM target
run: rustup update && rustup target add aarch64-apple-darwin
- name: Test
run: cargo test --release
- name: Make App
run: make dmg
- name: Test ARM
run: cargo test --release --target=aarch64-apple-darwin
- name: Make DMG
run: make dmg-universal
- name: Upload Application
run: |
mv ./target/release/osx/Alacritty.dmg ./Alacritty-${GITHUB_REF##*/}.dmg