-
Notifications
You must be signed in to change notification settings - Fork 130
59 lines (45 loc) · 1.36 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
57
58
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: 17
- name: Sdl Android Tests
# For more info, please check out: https://github.com/marketplace/actions/android-emulator-runner
uses: ReactiveCircus/android-emulator-runner@v2.30.1
with:
api-level: 34
target: google_apis
arch: x86_64
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/codecov-action@v1.0.13
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