-
Notifications
You must be signed in to change notification settings - Fork 620
46 lines (40 loc) · 956 Bytes
/
build-ci.yml
File metadata and controls
46 lines (40 loc) · 956 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
40
41
42
43
44
45
46
name: Build CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: write
security-events: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: set up JDK 18
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 18
- name: Setup Android SDK
uses: android-actions/setup-android@v4
- name: build samples and apps
uses: github/codeql-action/init@v4
with:
languages: cpp
- run: |
pushd samples
chmod +x gradlew
./gradlew -q clean bundleDebug
popd
pushd apps/OboeTester
chmod +x gradlew
./gradlew -q clean bundleDebug
popd
pushd apps/fxlab
chmod +x gradlew
./gradlew -q clean bundleDebug
popd
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4