<commit_before># Copyright 2020 The IREE Authors
#
# Licensed under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

steps:
  - label: "build"
    commands:
      - "git submodule sync && git submodule update --init --jobs 8 --depth 1"
      - "docker run --user=$(id -u):$(id -g) --volume=\\$PWD:\\$IREE_DOCKER_WORKDIR --workdir=\\$IREE_DOCKER_WORKDIR --rm gcr.io/iree-oss/android@sha256:9bc723fc707a18bd0c1be9c12e01ea5bb7c7d77f607427879e10ffcffd7d2bb5 build_host_and_android.sh arm64-v8a"
      - "tar --exclude='*.o' --exclude='*.a' -czvf build-artifacts.tgz build-android"
    agents:
      - "queue=build"
    env:
      IREE_DOCKER_WORKDIR: "/usr/src/github/iree"
    artifact_paths: "build-artifacts.tgz"

  - wait

  - label: "test on Pixel 6 (google-tensor, mali-g78)"
    commands:
      - "git clean -fdx"
      - "adb shell rm -rf /data/local/tmp/iree"
      - "buildkite-agent artifact download --step build build-artifacts.tgz ./"
      - "tar xzf build-artifacts.tgz"
      - "find build-android/ -name '*.cmake' -exec sed -i \"s!\\$IREE_DOCKER_WORKDIR/!\\$PWD/!g\" {} \\;"
      - "ctest -j 4 --test-dir build-android/ --timeout 900 --output-on-failure --no-tests=error"
    agents:
      - "android-soc=google-tensor"
      - "queue=test-android"
    env:
      IREE_DOCKER_WORKDIR: "/usr/src/github/iree"
    timeout_in_minutes: "15"<commit_msg>Fix path to build_host_and_android.sh. (#10037)<commit_after># Copyright 2020 The IREE Authors
#
# Licensed under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

steps:
  - label: "build"
    commands:
      - "git submodule sync && git submodule update --init --jobs 8 --depth 1"
      - "docker run --user=$(id -u):$(id -g) --volume=\\$PWD:\\$IREE_DOCKER_WORKDIR --workdir=\\$IREE_DOCKER_WORKDIR --rm gcr.io/iree-oss/android@sha256:9bc723fc707a18bd0c1be9c12e01ea5bb7c7d77f607427879e10ffcffd7d2bb5 build_tools/cmake/build_host_and_android.sh arm64-v8a"
      - "tar --exclude='*.o' --exclude='*.a' -czvf build-artifacts.tgz build-android"
    agents:
      - "queue=build"
    env:
      IREE_DOCKER_WORKDIR: "/usr/src/github/iree"
    artifact_paths: "build-artifacts.tgz"

  - wait

  - label: "test on Pixel 6 (google-tensor, mali-g78)"
    commands:
      - "git clean -fdx"
      - "adb shell rm -rf /data/local/tmp/iree"
      - "buildkite-agent artifact download --step build build-artifacts.tgz ./"
      - "tar xzf build-artifacts.tgz"
      - "find build-android/ -name '*.cmake' -exec sed -i \"s!\\$IREE_DOCKER_WORKDIR/!\\$PWD/!g\" {} \\;"
      - "ctest -j 4 --test-dir build-android/ --timeout 900 --output-on-failure --no-tests=error"
    agents:
      - "android-soc=google-tensor"
      - "queue=test-android"
    env:
      IREE_DOCKER_WORKDIR: "/usr/src/github/iree"
    timeout_in_minutes: "15"
{'fraction_non_alphanumeric': 0.1564784053156146, 'fraction_numerical': 0.04152823920265781, 'mean_word_length': 2.835668789808917, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5322829', 'n_tokens_mistral': 1226, 'n_tokens_neox': 1130, 'n_words': 231}