-
Notifications
You must be signed in to change notification settings - Fork 226
37 lines (35 loc) · 1019 Bytes
/
bazel.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Bazel
on:
push:
branches: [main]
pull_request:
branches: ['*']
jobs:
MacOS:
strategy:
matrix:
xcode_version: ['15.3', '15.4', '16.0', '16.1']
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', '6.0-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