diff options
author | Christian Duerr <contact@christianduerr.com> | 2022-01-13 03:23:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 02:23:37 +0000 |
commit | 7398e9f8d129359b8590754b1944ef2ba5e76ab6 (patch) | |
tree | 5dc63e85022d8b38b779834a9ed70c3719b2f653 /.github/workflows | |
parent | 1c9fa73165f0bc97255dd10e64ad4c9b76ad1d02 (diff) | |
download | alacritty-7398e9f8d129359b8590754b1944ef2ba5e76ab6.tar.gz alacritty-7398e9f8d129359b8590754b1944ef2ba5e76ab6.zip |
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.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 4 | ||||
-rw-r--r-- | .github/workflows/release.yml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ebf8fa58..6027f2b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,5 +31,5 @@ jobs: - 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 + - name: Build + run: cargo build --target=aarch64-apple-darwin diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b3ab013..6bf947b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,8 +18,8 @@ jobs: run: rustup update && rustup target add aarch64-apple-darwin - name: Test run: cargo test --release - - name: Test ARM - run: cargo test --release --target=aarch64-apple-darwin + - name: Build ARM + run: cargo build --release --target=aarch64-apple-darwin - name: Make DMG run: make dmg-universal - name: Upload Application |