Tolerate more shapes of SourceKit output with Swift 6 (#823) #243
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bazel | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: ['*'] | |
jobs: | |
MacOS: | |
strategy: | |
matrix: | |
xcode_version: ['15.2', '15.3'] | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: ${{ matrix.xcode_version }} | |
- run: bazelisk test //Tests:UnitTests --test_env=PROJECT_ROOT=$(bazelisk info workspace) | |
- run: bazelisk build sourcekitten | |
Linux: | |
strategy: | |
matrix: | |
tag: ['5.8-focal', '5.9-focal', '5.10-focal'] | |
runs-on: ubuntu-latest | |
container: | |
image: swift:${{ matrix.tag }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '^1.13.1' # The Go version to download (if necessary) and use. | |
- name: Setup Bazel | |
run: go install github.com/bazelbuild/bazelisk@latest | |
- name: Build SourceKitten | |
run: bazelisk build sourcekitten |