-
Notifications
You must be signed in to change notification settings - Fork 1
58 lines (55 loc) · 1.62 KB
/
test.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: Check
on:
pull_request:
paths-ignore:
- '**.md'
- '**/.gitignore'
- '.github/**'
- '!.github/workflows/test.yml'
push:
branches:
- 'master'
- 'test-ci-build'
paths-ignore:
- '**.md'
- '**/.gitignore'
- '.github/**'
- '!.github/workflows/test.yml'
jobs:
check:
name: Check
runs-on: macos-latest
steps:
- name: Check out
uses: actions/checkout@v2
- name: Fetch submodules
run: git submodule update --init
- name: Cached Konan
uses: actions/cache@v2
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: ${{ runner.os }}-konan-
- name: Cached Gradle
uses: actions/cache@v2
with:
path: ~/.gradle
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: ${{ runner.os }}-gradle-
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Install build tools
run: |
brew install autoconf@2.69 automake coreutils gettext libtool po4a
brew link --overwrite autoconf@2.69
- name: Check iOS
run: ./gradlew iosX64Test
# - name: Check Android
# uses: reactivecircus/android-emulator-runner@v2
# with:
# api-level: 29
# ndk: 21.3.6528147
# cmake: 3.10.2.4988404
# script: ./gradlew connectedCheck