From e9c1128b8630a215e5faa1fbe5d0374ece0c519a Mon Sep 17 00:00:00 2001 From: JP Simard Date: Thu, 24 Nov 2022 12:58:09 -0500 Subject: [PATCH] Move SwiftPM CI job to Buildkite (#4589) We have 6 CI machines now and these should run faster on bare metal machines with lots of stuff already cached, like starting with an existing git repo. --- .buildkite/pipeline.yml | 4 ++++ azure-pipelines.yml | 22 ---------------------- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index bdee9e9c4..046b5a6f7 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -5,6 +5,10 @@ steps: - bazel build :swiftlint - echo "+++ Test" - bazel test --test_output=errors //Tests/... + - label: "SwiftPM" + commands: + - echo "+++ Test" + - swift test --parallel -Xswiftc -DDISABLE_FOCUSED_EXAMPLES - label: "Danger" commands: - echo "--- Build Danger" diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 652d8c130..326f3e1d5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -42,28 +42,6 @@ jobs: # displayName: Version Informations # - script: xcodebuild -scheme swiftlint test -destination "platform=macOS" OTHER_SWIFT_FLAGS="\$(inherited) -D DISABLE_FOCUSED_EXAMPLES" # displayName: xcodebuild test - -- job: SwiftPM - pool: - vmImage: 'macOS-12' - strategy: - maxParallel: 10 - matrix: - xcode14: - DEVELOPER_DIR: /Applications/Xcode_14.0.1.app - steps: - - script: | - sw_vers - xcodebuild -version - displayName: Version Informations - - script: swift test --parallel --enable-code-coverage -Xswiftc -DDISABLE_FOCUSED_EXAMPLES - displayName: swift test - # - script: | - # xcrun llvm-cov export -format="lcov" .build/debug/SwiftLintPackageTests.xctest/Contents/MacOS/SwiftLintPackageTests -instr-profile .build/debug/codecov/default.profdata > coverage.lcov - # bash <(curl -s https://codecov.io/bash) - # displayName: Upload code coverage - # condition: eq(variables['DEVELOPER_DIR'], '/Applications/Xcode_14.0.1.app') - - job: CocoaPods pool: vmImage: 'macOS-12'