mirror of
https://github.com/alacritty/alacritty.git
synced 2026-12-06 03:05:01 +03:00
Fix macOS release CI
Since the CI machine is amd64, it is not possible to just execute the aarch64 binary to test the application. So instead of running `cargo test`, we just use `cargo build` instead. Building on the non-release CI instead of just checking also allows us to make sure linking works properly before a release fails due to it.
This commit is contained in:
1 parent
1c9fa73165
commit
7398e9f8d1
2 files changed
+4
-4
No files matched your search
@@ -31,5 +31,5 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install target
|
- name: Install target
|
||||||
run: rustup update && rustup target add aarch64-apple-darwin
|
run: rustup update && rustup target add aarch64-apple-darwin
|
||||||
- name: Check build
|
- name: Build
|
||||||
run: cargo check --target=aarch64-apple-darwin
|
run: cargo build --target=aarch64-apple-darwin
|
||||||
@@ -18,8 +18,8 @@ jobs:
|
|||||||
run: rustup update && rustup target add aarch64-apple-darwin
|
run: rustup update && rustup target add aarch64-apple-darwin
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cargo test --release
|
run: cargo test --release
|
||||||
- name: Test ARM
|
- name: Build ARM
|
||||||
run: cargo test --release --target=aarch64-apple-darwin
|
run: cargo build --release --target=aarch64-apple-darwin
|
||||||
- name: Make DMG
|
- name: Make DMG
|
||||||
run: make dmg-universal
|
run: make dmg-universal
|
||||||
- name: Upload Application
|
- name: Upload Application
|
||||||
|
|||||||
Reference in new issue
Block a user