fix: set minimum macOS version to 10.12
@@ -89,6 +89,10 @@ jobs:
run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
if: matrix.os == 'windows-2019'
+ - name: Set deployment target (macOS)
+ run: echo "MACOSX_DEPLOYMENT_TARGET=10.12" >> $GITHUB_ENV
+ if: matrix.os == 'macos-11'
+
- name: Get current date
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
if: matrix.os == 'macos-11' || ${{ startsWith(matrix.os, 'ubuntu') }}
