-
Notifications
You must be signed in to change notification settings - Fork 171
59 lines (43 loc) · 1.31 KB
/
android.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
45
46
47
48
49
50
51
52
53
54
55
56
name: GitHub CI
on: [push, pull_request, workflow_dispatch]
jobs:
test_Android:
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Setup JDK
uses: actions/setup-java@v1
with:
java-version: 11
- name: Sdl Android Tests
# For more info, please check out: https://github.com/marketplace/actions/android-emulator-runner
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./android/gradlew -p ./android :sdl_android:connectedCheck
- name: Hello Sdl Android Tests
run: ./android/gradlew -p ./android/hello_sdl_android test
- name: Codecov
uses: codecov/[email protected]
with:
yml: ./codecov.yml
test_Java:
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Setup JDK
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Sdl JavaSE Tests
run: ./javaSE/gradlew -p ./javaSE/javaSE test
- name: Hello Sdl JavaSE Tests
run: ./javaSE/gradlew -p ./javaSE/hello_sdl_java test
- name: Sdl JavaEE Tests
run: ./javaEE/gradlew -p ./javaEE/javaEE test