Use arch -arm64 on ARM64 macOS CI

This commit is contained in:
WaluigiWare64 2021-07-22 14:18:52 +01:00
parent a135557bcb
commit 3bada15e46

View File

@ -10,11 +10,11 @@ steps:
- script: mkdir $(Pipeline.Workspace)/build - script: mkdir $(Pipeline.Workspace)/build
displayName: 'Create build environment' displayName: 'Create build environment'
- script: cmake $(Build.SourcesDirectory) -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_PREFIX_PATH="$(brew --prefix qt@6);$(brew --prefix libarchive)" -DMACOS_BUNDLE_LIBS=ON -DMACOS_BUILD_DMG=ON -DUSE_QT6=ON - script: arch -arm64 cmake $(Build.SourcesDirectory) -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_PREFIX_PATH="$(brew --prefix qt@6);$(brew --prefix libarchive)" -DMACOS_BUNDLE_LIBS=ON -DMACOS_BUILD_DMG=ON -DUSE_QT6=ON
displayName: 'Configure' displayName: 'Configure'
workingDirectory: $(Pipeline.Workspace)/build workingDirectory: $(Pipeline.Workspace)/build
- script: make -j$(sysctl -n hw.logicalcpu) - script: arch -arm64 make -j$(sysctl -n hw.logicalcpu)
displayName: 'Make' displayName: 'Make'
workingDirectory: $(Pipeline.Workspace)/build workingDirectory: $(Pipeline.Workspace)/build