-
Notifications
You must be signed in to change notification settings - Fork 3
55 lines (44 loc) · 1.38 KB
/
ci.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
name: CI
on: [pull_request]
env:
BUNDLE_PATH: vendor/bundle
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
android:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Build and Test SDK
run: |
cd android
bash ./gradlew assembleDebug testDebugUnitTest --info --stacktrace
cd -
- name: publish unit test reports
if: always()
uses: mikepenz/action-junit-report@a6502270b81b22b7cf745720fcf00edf7d31dc04
with:
check_name: 'Unit test reports'
github_token: ${{ github.token }}
report_paths: '**/build/test-results/**/TEST-*.xml'
fail_on_failure: true
ios:
runs-on: macos-14-xlarge
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Install Coreutils
run: brew install coreutils
- name: Build SDK
run: |
exec pod lib lint AirshipFrameworkProxy.podspec --verbose --platforms=ios