From 3bada15e46acb5d24464ceadcb2cc760beafe7f8 Mon Sep 17 00:00:00 2001 From: WaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com> Date: Thu, 22 Jul 2021 14:18:52 +0100 Subject: [PATCH] Use arch -arm64 on ARM64 macOS CI --- .github/azure-workflows/build-mac-arm64.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/azure-workflows/build-mac-arm64.yml b/.github/azure-workflows/build-mac-arm64.yml index fbcf4b09..465ca9c1 100644 --- a/.github/azure-workflows/build-mac-arm64.yml +++ b/.github/azure-workflows/build-mac-arm64.yml @@ -10,11 +10,11 @@ steps: - script: mkdir $(Pipeline.Workspace)/build 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' workingDirectory: $(Pipeline.Workspace)/build -- script: make -j$(sysctl -n hw.logicalcpu) +- script: arch -arm64 make -j$(sysctl -n hw.logicalcpu) displayName: 'Make' workingDirectory: $(Pipeline.Workspace)/build