build for High Sierra and later

This commit is contained in:
Luis Ángel San Martín 2024-05-27 22:10:56 +02:00
parent 5c0253ba39
commit c1617fc6a7

View File

@ -209,7 +209,7 @@ jobs:
- ${{ if and(eq(variables['System.TeamFoundationCollectionUri'], 'https://dev.azure.com/luisangelsm/'), or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(variables['Build.SourceBranch'], 'refs/heads/develop'))) }}: - ${{ if and(eq(variables['System.TeamFoundationCollectionUri'], 'https://dev.azure.com/luisangelsm/'), or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(variables['Build.SourceBranch'], 'refs/heads/develop'))) }}:
- group: macos-codesign - group: macos-codesign
pool: pool:
vmImage: 'macOS-11' vmImage: 'macOS-latest'
steps: steps:
- script: | - script: |
brew install qt@5 brew install qt@5
@ -228,6 +228,7 @@ jobs:
certSecureFile: 'developerID_application.p12' certSecureFile: 'developerID_application.p12'
certPwd: $(P12Password) certPwd: $(P12Password)
- script: | - script: |
export MACOSX_DEPLOYMENT_TARGET=10.13
cd $(Build.SourcesDirectory) cd $(Build.SourcesDirectory)
VERSION="$(cat common/yacreader_global.h | grep '#define VERSION "' | tr -d '#define VERSION' | tr -d '"' )" VERSION="$(cat common/yacreader_global.h | grep '#define VERSION "' | tr -d '#define VERSION' | tr -d '"' )"
echo "Trying to know if we are in a forked repo: $IS_FORK" echo "Trying to know if we are in a forked repo: $IS_FORK"