Skip to content

Commit 1bdeaeb

Browse files
committed
try support lower version macosx
1 parent 2a8b8ee commit 1bdeaeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ jobs:
6060
if: ${{ matrix.cross == 'general-macos-intel' }}
6161
run: |
6262
rustup target add ${{ matrix.target }}
63-
export MACOSX_DEPLOYMENT_TARGET=10.15
64-
cargo build --release --target ${{ matrix.target }} -p emmylua_ls
63+
RUSTFLAGS="-C link-args=-mmacos-version-min=10.15" cargo build --release --target ${{ matrix.target }} -p emmylua_ls
64+
otool -L target/${{ matrix.target }}/release/emmylua_ls | grep -A2 LC_BUILD_VERSION
6565
- name: copy-binary
6666
if: ${{ matrix.os != 'windows-latest' }}
6767
run: |

0 commit comments

Comments
 (0)