Revert "Run TSan job on Azure Pipelines with Bazel (#4130)" (#4350)

This reverts commit 848ec452c3.

This appears to be slower most of the time.
This commit is contained in:
JP Simard 2022-10-12 10:26:45 -04:00 committed by GitHub
parent 602070164b
commit 4b04e528af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 11 deletions

View File

@ -83,19 +83,11 @@ jobs:
variables: variables:
DEVELOPER_DIR: /Applications/Xcode_14.0.1.app DEVELOPER_DIR: /Applications/Xcode_14.0.1.app
steps: steps:
- script: | - script: swift build --configuration release --sanitize thread --product swiftlint
curl -L https://github.com/bazelbuild/bazelisk/releases/download/v1.12.2/bazelisk-darwin-amd64 -o bazelisk
chmod +x bazelisk
displayName: Install Bazel
- script: echo "build --remote_cache=grpc://$BAZEL_REMOTE_CREDENTIALS@swiftlint-ci.jpsim.com:9092" > ci.bazelrc
env:
BAZEL_REMOTE_CREDENTIALS: $(BAZEL_REMOTE_CREDENTIALS)
displayName: Set CI Bazel flags
- script: ./bazelisk build -c opt --features=tsan swiftlint
displayName: Build SwiftLint displayName: Build SwiftLint
- script: ./bazel-bin/swiftlint --lenient - script: swift run --configuration release --sanitize thread swiftlint --lenient
displayName: Pre-cache SwiftLint Run displayName: Pre-cache SwiftLint Run
- script: ./bazel-bin/swiftlint --lenient - script: swift run --configuration release --sanitize thread swiftlint --lenient
displayName: Post-cache SwiftLint Run displayName: Post-cache SwiftLint Run
- job: jazzy - job: jazzy