Skip to content

Commit

Permalink
Use arch -arm64 on ARM64 macOS CI
Browse files Browse the repository at this point in the history
  • Loading branch information
RayyanAnsari committed Jul 22, 2021
1 parent a135557 commit 3bada15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/azure-workflows/build-mac-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3bada15

Please sign in to comment.