Skip to content

Fix Bazel compatibility #196

Fix Bazel compatibility

Fix Bazel compatibility #196

Workflow file for this run

name: Bazel
on:
push:
branches: [main]
pull_request:
branches: ['*']
jobs:
MacOS:
strategy:
matrix:
xcode_version: ['14.1', '14.3.1']
runs-on: macos-13
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode_version }}.app
steps:
- uses: actions/checkout@v2
- run: bazelisk test //Tests:UnitTests --test_env=PROJECT_ROOT=$(bazelisk info workspace)
- run: bazelisk build sourcekitten
Linux:
strategy:
matrix:
tag: ['5.7-focal', '5.8-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