diff --git a/.github/workflows/android-demos.yml b/.github/workflows/android-demos.yml new file mode 100644 index 00000000..8dbf29de --- /dev/null +++ b/.github/workflows/android-demos.yml @@ -0,0 +1,35 @@ +name: Android Demos + +on: + workflow_dispatch: + push: + branches: [ master ] + paths: + - '.github/workflows/android-demos.yml' + - 'demo/android/**' + - '!demo/android/LeopardDemo/README.md' + pull_request: + branches: [ master, 'v[0-9]+.[0-9]+' ] + paths: + - '.github/workflows/android-demos.yml' + - 'demo/android/**' + - '!demo/android/LeopardDemo/README.md' + +jobs: + build-leopard-demo: + runs-on: ubuntu-latest + defaults: + run: + working-directory: demo/android/LeopardDemo + + steps: + - uses: actions/checkout@v3 + + - name: set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + + - name: Build + run: ./gradlew assembleDebug \ No newline at end of file