Skip to content

Commit da44227

Browse files
xaionaro@dx.centerxaionaro@dx.center
authored andcommitted
Add README.md and the CI configuration
1 parent 4374341 commit da44227

2 files changed

Lines changed: 523 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
go-version: ['1.25.x']
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- uses: actions/setup-go@v5
19+
with:
20+
go-version: ${{ matrix.go-version }}
21+
22+
- name: Unit tests
23+
run: go test -v -race ./parser/ ./codegen/ ./binder/ ./parcel/ ./typesys/ ./resolver/ ./testutil/
24+
25+
- name: Vet
26+
run: go vet ./parser/ ./codegen/ ./binder/ ./parcel/ ./typesys/ ./resolver/ ./testutil/ ./errors/ ./servicemanager/ ./kernelbinder/ ./cmd/...
27+
28+
- name: Build commands
29+
run: |
30+
go build ./cmd/aidlgen/
31+
go build ./cmd/aospgen/
32+
go build ./cmd/gen_e2e_smoke/
33+
34+
- name: Build examples
35+
run: |
36+
for d in examples/*/; do
37+
echo "Building $d..."
38+
go build "./$d"
39+
done

0 commit comments

Comments
 (0)