fix(ci): add explicit macOS minimum version to CI to (hopefully) fix #785

This commit is contained in:
Federico Terzi 2021-10-14 19:37:47 +02:00
parent 93b6c8e75a
commit a257cf96e5
2 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,8 @@ jobs:
run: | run: |
rustup component add clippy rustup component add clippy
cargo clippy -- -D warnings cargo clippy -- -D warnings
env:
MACOSX_DEPLOYMENT_TARGET: "10.13"
- name: Install cargo-make - name: Install cargo-make
run: | run: |
cargo install --force cargo-make cargo install --force cargo-make

View File

@ -131,8 +131,12 @@ jobs:
cargo install --force cargo-make cargo install --force cargo-make
- name: Test - name: Test
run: cargo make test-binary --profile release run: cargo make test-binary --profile release
env:
MACOSX_DEPLOYMENT_TARGET: "10.13"
- name: Build - name: Build
run: cargo make create-bundle --profile release run: cargo make create-bundle --profile release
env:
MACOSX_DEPLOYMENT_TARGET: "10.13"
- name: Create ZIP archive - name: Create ZIP archive
run: | run: |
ditto -c -k --sequesterRsrc --keepParent target/mac/Espanso.app Espanso-Mac-Intel.zip ditto -c -k --sequesterRsrc --keepParent target/mac/Espanso.app Espanso-Mac-Intel.zip