mirror of
https://github.com/alacritty/alacritty.git
synced 2026-12-01 09:22:28 +03:00
Add macOS ARM builds to CI
This commit is contained in:
1 parent
c24d7dfd0d
commit
abed2e9748
5 files changed
+52
-16
No files matched your search
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user