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.
This commit is contained in:
parent
4ccf9eebb4
commit
e9c1128b86
|
@ -5,6 +5,10 @@ steps:
|
||||||
- bazel build :swiftlint
|
- bazel build :swiftlint
|
||||||
- echo "+++ Test"
|
- echo "+++ Test"
|
||||||
- bazel test --test_output=errors //Tests/...
|
- bazel test --test_output=errors //Tests/...
|
||||||
|
- label: "SwiftPM"
|
||||||
|
commands:
|
||||||
|
- echo "+++ Test"
|
||||||
|
- swift test --parallel -Xswiftc -DDISABLE_FOCUSED_EXAMPLES
|
||||||
- label: "Danger"
|
- label: "Danger"
|
||||||
commands:
|
commands:
|
||||||
- echo "--- Build Danger"
|
- echo "--- Build Danger"
|
||||||
|
|
|
@ -42,28 +42,6 @@ jobs:
|
||||||
# displayName: Version Informations
|
# displayName: Version Informations
|
||||||
# - script: xcodebuild -scheme swiftlint test -destination "platform=macOS" OTHER_SWIFT_FLAGS="\$(inherited) -D DISABLE_FOCUSED_EXAMPLES"
|
# - script: xcodebuild -scheme swiftlint test -destination "platform=macOS" OTHER_SWIFT_FLAGS="\$(inherited) -D DISABLE_FOCUSED_EXAMPLES"
|
||||||
# displayName: xcodebuild test
|
# 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
|
- job: CocoaPods
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'macOS-12'
|
vmImage: 'macOS-12'
|
||||||
|
|
Loading…
Reference in New Issue