1name: Build CI 2 3on: 4 push: 5 branches: [ main ] 6 pull_request: 7 branches: [ main ] 8 9permissions: 10 contents: write 11 security-events: write 12 13jobs: 14 build: 15 runs-on: ubuntu-latest 16 17 steps: 18 - uses: actions/checkout@v4 19 - name: set up JDK 17 20 uses: actions/setup-java@v4 21 with: 22 distribution: 'temurin' 23 java-version: 18 24 - name: build samples and apps 25 uses: github/codeql-action/init@v3 26 with: 27 languages: cpp 28 - run: | 29 pushd samples 30 chmod +x gradlew 31 ./gradlew -q clean bundleDebug 32 popd 33 pushd apps/OboeTester 34 chmod +x gradlew 35 ./gradlew -q clean bundleDebug 36 popd 37 pushd apps/fxlab 38 chmod +x gradlew 39 ./gradlew -q clean bundleDebug 40 popd 41 - name: Perform CodeQL Analysis 42 uses: github/codeql-action/analyze@v3 43