Release 14.6.1 #201
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: [pull_request] | |
| env: | |
| BUNDLE_PATH: vendor/bundle | |
| DEVELOPER_DIR: /Applications/Xcode_16.2.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-15-xlarge | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Coreutils | |
| run: brew install coreutils | |
| - name: Build SDK | |
| run: | | |
| cd ios | |
| xcodebuild \ | |
| -project AirshipFrameworkProxy.xcodeproj \ | |
| -scheme AirshipFrameworkProxy \ | |
| -destination 'platform=iOS Simulator,OS=18.2,name=iPhone 16 Pro Max' \ | |
| clean test | xcbeautify --renderer github-actions | |
| - name: Pod lint | |
| run: | | |
| exec pod lib lint AirshipFrameworkProxy.podspec --verbose --platforms=ios --allow-warnings |