From a257cf96e506b527265e96ba29f16c462bdf3a42 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Thu, 14 Oct 2021 19:37:47 +0200 Subject: [PATCH] fix(ci): add explicit macOS minimum version to CI to (hopefully) fix #785 --- .github/workflows/ci.yml | 2 ++ .github/workflows/release.yml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 579f0bd..739b4d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,8 @@ jobs: run: | rustup component add clippy cargo clippy -- -D warnings + env: + MACOSX_DEPLOYMENT_TARGET: "10.13" - name: Install cargo-make run: | cargo install --force cargo-make diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ee56d23..d41c8b9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -131,8 +131,12 @@ jobs: cargo install --force cargo-make - name: Test run: cargo make test-binary --profile release + env: + MACOSX_DEPLOYMENT_TARGET: "10.13" - name: Build run: cargo make create-bundle --profile release + env: + MACOSX_DEPLOYMENT_TARGET: "10.13" - name: Create ZIP archive run: | ditto -c -k --sequesterRsrc --keepParent target/mac/Espanso.app Espanso-Mac-Intel.zip