-
Notifications
You must be signed in to change notification settings - Fork 25
44 lines (34 loc) · 893 Bytes
/
main.yml
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
name: Android CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
# GitHub Actionsのタイムラインの可視化
- uses: Kesin11/actions-timeline@v2
- uses: actions/checkout@v4
with:
submodules: true
- name: set up JDK 8, 11, 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
8
11
17
cache: gradle
- name: Set up Android SDK
uses: android-actions/setup-android@v3
- name: Setup Gradle Cacge
uses: gradle/gradle-build-action@v3
- name: Make dummy gradle.properties
run: (cd app; ./make_plain_gradle_properties.sh)
- name: Build debug version with Gradle
run: ./gradlew assembleQuad5Debug
- name: Unit Test
run: ./gradlew test