feat: Use C and NEON for hashing (Optimization) 100x on Pixel 8 #163
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: 'Android Observability' | |
| on: | |
| push: | |
| branches: ['main'] | |
| paths: | |
| - 'sdk/@launchdarkly/observability-android/**' | |
| - '.github/workflows/android-observability.yml' | |
| pull_request: | |
| types: [opened, synchronize] | |
| paths: | |
| - 'sdk/@launchdarkly/observability-android/**' | |
| - '.github/workflows/android-observability.yml' | |
| permissions: | |
| contents: read | |
| concurrency: ${{ github.workflow }}-${{ github.ref }} | |
| jobs: | |
| test: | |
| name: Unit Tests | |
| runs-on: ubuntu-22.04-8core-32gb | |
| defaults: | |
| run: | |
| working-directory: ./sdk/@launchdarkly/observability-android | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 17 | |
| - name: Set up Android SDK | |
| uses: android-actions/setup-android@9fc6c4e9069bf8d3d10b2204b1fb8f6ef7065407 # v3.2.2 commit SHA - https://github.com/android-actions/setup-android/releases/tag/v3.2.2 | |
| - name: Run unit tests | |
| run: ./gradlew :lib:testComposeDebugUnitTest | |
| - name: Upload test reports | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: android-unit-test-results | |
| path: sdk/@launchdarkly/observability-android/**/build/test-results/**/TEST-*.xml | |
| retention-days: 7 |