The code of conduct is based on the Contributor Covenant v2.1 standard and has been llinked in the README
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
name: FlorisBoard CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
paths-ignore:
|
|
- ".github/ISSUE_TEMPLATE/**"
|
|
- ".github/FUNDING.yml"
|
|
- ".editorconfig"
|
|
- "fastlane/**"
|
|
- "CONTRIBUTING.md"
|
|
- "CODE_OF_CONDUCT.md"
|
|
- "LICENSE"
|
|
- "README.md"
|
|
- "ROADMAP.md"
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
|
|
- uses: gradle/wrapper-validation-action@v1
|
|
- name: Set up JDK 17
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
java-version: 17
|
|
distribution: temurin
|
|
cache: gradle
|
|
- name: Set up CMake and Ninja
|
|
uses: lukka/get-cmake@latest
|
|
- name: Build with Gradle
|
|
# MUST call gradlew separately because of an OSS license plugin issue.
|
|
# See https://github.com/google/play-services-plugins/issues/199
|
|
run: ./gradlew clean && ./gradlew assembleDebug
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: app-debug.apk
|
|
path: app/build/outputs/apk/debug/app-debug.apk
|