Skip to content

Commit

Permalink
Migrate ci_linux_arm64_clang to new dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottTodd committed Sep 19, 2024
1 parent 782f372 commit e870784
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions .github/workflows/ci_linux_arm64_clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
name: CI - Linux arm64 clang

on:
pull_request:
paths:
- ".github/workflows/ci_linux_arm64_clang.yml"
schedule:
# Weekday mornings at 09:15 UTC = 01:15 PST (UTC - 8).
- cron: "15 9 * * 1-5"
Expand Down Expand Up @@ -34,29 +37,29 @@ jobs:
- environment=${{ needs.setup.outputs.runner-env }}
- arm64
- os-family=Linux
container: ghcr.io/iree-org/cpubuilder_ubuntu_jammy_x86_64@sha256:48654cf56d6ec28788ea35d80b0546b1ef57281d7998dbe94b78fd4a5f2d33f0
defaults:
run:
shell: bash
env:
BUILD_DIR: build-arm64
steps:
- name: "Checking out repository"
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Set up QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
- name: Install Python requirements
run: python3 -m pip install -r ./runtime/bindings/python/iree/runtime/build_requirements.txt
- name: "Building IREE"
env:
IREE_WRITE_REMOTE_CCACHE: ${{ needs.setup.outputs.write-caches }}
CCACHE_NAMESPACE: ci_linux_arm64_clang
run: |
./build_tools/github_actions/docker_run.sh \
--env "IREE_CCACHE_GCP_TOKEN=$(gcloud auth application-default print-access-token)" \
--env "IREE_WRITE_REMOTE_CCACHE=${IREE_WRITE_REMOTE_CCACHE}" \
--env "CCACHE_NAMESPACE=gcr.io/iree-oss/base-arm64@sha256:9daa1cdbbf12da8527319ece76a64d06219e04ecb99a4cff6e6364235ddf6c59" \
--env "IREE_BUILD_SETUP_PYTHON_VENV=${BUILD_DIR}/.venv" \
gcr.io/iree-oss/base-arm64@sha256:9daa1cdbbf12da8527319ece76a64d06219e04ecb99a4cff6e6364235ddf6c59 \
./build_tools/cmake/build_all.sh \
"${BUILD_DIR}"
export IREE_CCACHE_GCP_TOKEN=$(gcloud auth application-default print-access-token)"
./build_tools/cmake/build_all.sh "${BUILD_DIR}"
- name: "Testing IREE"
run: |
./build_tools/github_actions/docker_run.sh \
--env "IREE_ARM_SME_QEMU_AARCH64_BIN=/usr/bin/qemu-aarch64" \
gcr.io/iree-oss/base-arm64@sha256:9daa1cdbbf12da8527319ece76a64d06219e04ecb99a4cff6e6364235ddf6c59 \
./build_tools/cmake/ctest_all.sh \
"${BUILD_DIR}"
env:
IREE_ARM_SME_QEMU_AARCH64_BIN: /usr/bin/qemu-aarch64
run: ./build_tools/cmake/ctest_all.sh "${BUILD_DIR}"

0 comments on commit e870784

Please sign in to comment.