-
Notifications
You must be signed in to change notification settings - Fork 36
51 lines (48 loc) · 1.52 KB
/
bazel_cli_build.yml
File metadata and controls
51 lines (48 loc) · 1.52 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Bazel CLI Build (macOS)
on:
push:
paths:
- 'cli/**'
- '.github/workflows/bazel_cli_build.yml'
pull_request:
branches: [ main ]
paths:
- 'cli/**'
- '.github/workflows/bazel_cli_build.yml'
workflow_dispatch:
jobs:
build-macos:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Set up Bazel
uses: bazel-contrib/setup-bazel@0.14.0
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
repository-cache: true
- name: Build CLI with Bazel
run: bazel build //cli/...
- name: Build Java Language Module
run: bazel build //language/java/...
- name: Build XML Language Module
run: bazel build //language/xml/...
- name: Build SQL Language Module
run: bazel build //language/sql/...
- name: Build JavaScript Language Module
run: bazel build //language/javascript/...
- name: Build Properties Language Module
run: bazel build //language/properties/...
- name: Build Python Extractor Module
run: bazel build //language/python/...
- name: Build ArkTS Language Module
run: bazel build //language/arkts/...
- name: Build Go Extractor Module
run: bazel build //language/go/...
- name: Build CFamily Extractor Module
run: bazel build //language/cfamily/...
- name: Build All
run: bazel build //...