diff options
author | Christian Duerr <contact@christianduerr.com> | 2021-08-17 18:04:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 18:04:46 +0000 |
commit | abed2e97488f57d37743f090c16c12eff812b2ce (patch) | |
tree | 94d96e0a88cad49c7d2d12a0957e0aadebf91cc0 /.github/workflows | |
parent | c24d7dfd0d2d8849f0398d7cb1a65d6562ee7a0d (diff) |
Add macOS ARM builds to CI
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 8 | ||||
-rw-r--r-- | .github/workflows/release.yml | 10 |
2 files changed, 15 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b51876f..f0b713cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 682e344b..ae8dc448 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 |