<commit_before>on: [push, pull_request]

jobs:
  android-bin:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: seanmiddleditch/gha-setup-ninja@v3
      - run: bazel build -c opt :encoder_main --config=android_arm64
      - run: bazel build -c opt :decoder_main --config=android_arm64

  android-app:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: seanmiddleditch/gha-setup-ninja@v3
      - name: Build Android app
        run: bazel build android_example:lyra_android_example --config=android_arm64 --copt=-DBENCHMARK
      - name: Upload Android APK
        uses: actions/upload-artifact@v2
        if: github.repository_owner == 'lyra'
        with:
          path: bazel-bin/android_example/lyra_android_example.apk
      - name: Upload Android APK on release
        uses: softprops/action-gh-release@v1
        if: startsWith(github.ref, 'refs/tags/')
        with:
          files: bazel-bin/android_example/lyra_android_example.apk
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}<commit_msg>CI: Disable Android APK upload and deploy, pin Ninja setup<commit_after>on: [push, pull_request]

jobs:
  android-bin:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: seanmiddleditch/gha-setup-ninja@16b940825621068d98711680b6c3ff92201f8fc0
      - run: bazel build -c opt :encoder_main --config=android_arm64
      - run: bazel build -c opt :decoder_main --config=android_arm64

  android-app:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: seanmiddleditch/gha-setup-ninja@16b940825621068d98711680b6c3ff92201f8fc0
      - name: Build Android app
        run: bazel build android_example:lyra_android_example --config=android_arm64 --copt=-DBENCHMARK
      - name: Upload Android APK
        uses: actions/upload-artifact@v2
        if: github.repository_owner == 'lyra' && false # Feature disabled currently
        with:
          path: bazel-bin/android_example/lyra_android_example.apk
      - name: Upload Android APK on release
        uses: softprops/action-gh-release@v1
        if: startsWith(github.ref, 'refs/tags/') && false # Feature disabled currently
        with:
          files: bazel-bin/android_example/lyra_android_example.apk
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
{'fraction_non_alphanumeric': 0.09836065573770492, 'fraction_numerical': 0.03530895334174023, 'mean_word_length': 2.7539432176656153, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1324555', 'n_tokens_mistral': 869, 'n_tokens_neox': 810, 'n_words': 163}