| # Copyright 2021 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: "Test Colab notebooks" | |
| commands: | |
| - "docker run --user=$(id -u):$(id -g) --volume=\\$PWD:\\$IREE_DOCKER_WORKDIR --workdir=\\$IREE_DOCKER_WORKDIR --rm gcr.io/iree-oss/samples@sha256:ec47becc69f7780d196f17927995d77487052663669518ee62fe41f4bedafc75 python3 colab/test_notebooks.py" | |
| env: | |
| IREE_DOCKER_WORKDIR: "/usr/src/github/iree" | |
| agents: | |
| - "queue=build" | |
| - label: "Test Samples" | |
| commands: | |
| - "docker run --user=$(id -u):$(id -g) --volume=\\$PWD:\\$IREE_DOCKER_WORKDIR --workdir=\\$IREE_DOCKER_WORKDIR --rm gcr.io/iree-oss/samples@sha256:ec47becc69f7780d196f17927995d77487052663669518ee62fe41f4bedafc75 build_tools/testing/test_samples.sh" | |
| env: | |
| IREE_DOCKER_WORKDIR: "/usr/src/github/iree" | |
| agents: | |
| - "queue=build" |