message: Only run full mac build on non-PR builds
diff: @@ -57,8 +57,13 @@ steps:
  displayName: rush audit
  workingDirectory: ${{ parameters.workingDir }}
  - script: node common/scripts/install-run-rush.js build -v -p max
  - displayName: rush build everything else (test-apps and example code)
  + displayName: rush build
  workingDirectory: ${{ parameters.workingDir }}
  + condition: and(succeeded(), not(and(eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Agent.OS'], 'Darwin'))))
  + - script: node common/scripts/install-run-rush.js compile -v -p max
  + displayName: rush build
  + workingDirectory: ${{ parameters.workingDir }}
  + condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Agent.OS'], 'Darwin'))
  - script: node common/scripts/install-run-rush.js lint
  displayName: rush lint
  workingDirectory: ${{ parameters.workingDir }}
  