This reverts commit 848ec452c3
.
This appears to be slower most of the time.
This commit is contained in:
parent
602070164b
commit
4b04e528af
|
@ -83,19 +83,11 @@ jobs:
|
|||
variables:
|
||||
DEVELOPER_DIR: /Applications/Xcode_14.0.1.app
|
||||
steps:
|
||||
- script: |
|
||||
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
|
||||
- script: swift build --configuration release --sanitize thread --product swiftlint
|
||||
displayName: Build SwiftLint
|
||||
- script: ./bazel-bin/swiftlint --lenient
|
||||
- script: swift run --configuration release --sanitize thread swiftlint --lenient
|
||||
displayName: Pre-cache SwiftLint Run
|
||||
- script: ./bazel-bin/swiftlint --lenient
|
||||
- script: swift run --configuration release --sanitize thread swiftlint --lenient
|
||||
displayName: Post-cache SwiftLint Run
|
||||
|
||||
- job: jazzy
|
||||
|
|
Loading…
Reference in New Issue