-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (32 loc) · 933 Bytes
/
ci.yml
File metadata and controls
39 lines (32 loc) · 933 Bytes
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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.25.x']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Unit tests
run: go test -v -race ./parser/ ./codegen/ ./binder/ ./parcel/ ./typesys/ ./resolver/ ./testutil/
- name: Vet
run: go vet ./parser/ ./codegen/ ./binder/ ./parcel/ ./typesys/ ./resolver/ ./testutil/ ./errors/ ./servicemanager/ ./kernelbinder/ ./cmd/...
- name: Build commands
run: |
go build ./cmd/aidlgen/
go build ./cmd/aospgen/
go build ./cmd/gen_e2e_smoke/
- name: Build examples
run: |
for d in examples/*/; do
echo "Building $d..."
go build "./$d"
done