mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 12:35:47 +00:00
42 lines
875 B
YAML
42 lines
875 B
YAML
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@v4
|
|
- name: set up JDK 17
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: 18
|
|
- name: build samples and apps
|
|
uses: github/codeql-action/init@v3
|
|
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@v3
|