From 107fa01b1312bdd0b7c0d7cce9274cf5f10fc7e0 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Sun, 25 Jul 2021 20:59:59 +0200 Subject: [PATCH] Use Homebrew LLVM for tha CI builds --- .github/azure-workflows/build-mac-x86_64.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/azure-workflows/build-mac-x86_64.yml b/.github/azure-workflows/build-mac-x86_64.yml index e2e14c6d..645131c4 100644 --- a/.github/azure-workflows/build-mac-x86_64.yml +++ b/.github/azure-workflows/build-mac-x86_64.yml @@ -5,13 +5,13 @@ pool: vmImage: macOS-10.14 steps: -- script: brew install sdl2 qt@6 libslirp libarchive libepoxy +- script: brew install llvm sdl2 qt@6 libslirp libarchive libepoxy displayName: 'Install dependencies' - 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: 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 -DCMAKE_TOOLCHAIN_FILE=$(Build.SourcesDirectory)/cmake/Toolchain-Homebrew-LLVM.cmake displayName: 'Configure' workingDirectory: $(Pipeline.Workspace)/build