From 3074ee06d73c6076dac9348a678b99beb38f48cc Mon Sep 17 00:00:00 2001 From: WaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com> Date: Thu, 22 Jul 2021 14:32:06 +0100 Subject: [PATCH] Clean workspace before build --- .github/azure-workflows/build-mac-arm64.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/azure-workflows/build-mac-arm64.yml b/.github/azure-workflows/build-mac-arm64.yml index 4d5f213a..721c6acc 100644 --- a/.github/azure-workflows/build-mac-arm64.yml +++ b/.github/azure-workflows/build-mac-arm64.yml @@ -6,8 +6,11 @@ pool: demands: - agent.name -equals MacStadium-ARM64-Mac +workspace: + clean: all + steps: -- script: mkdir -p $(Pipeline.Workspace)/build +- script: mkdir $(Pipeline.Workspace)/build displayName: 'Create build environment' - 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