Skip to content

Commit 50aa613

Browse files
committed
move openvino job into pull.yml
1 parent ecbae60 commit 50aa613

File tree

2 files changed

+23
-37
lines changed

2 files changed

+23
-37
lines changed

.github/workflows/openvino.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/pull.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,3 +736,26 @@ jobs:
736736
conda activate "${CONDA_ENV}"
737737
738738
# placeholder for mediatek to add more tests
739+
740+
test-openvino-linux:
741+
name: test-openvino-linux
742+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
743+
permissions:
744+
id-token: write
745+
contents: read
746+
strategy:
747+
fail-fast: false
748+
with:
749+
runner: linux.2xlarge
750+
docker-image: executorch-ubuntu-22.04-gcc9
751+
submodules: 'true'
752+
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
753+
timeout: 90
754+
script: |
755+
# The generic Linux job chooses to use base env, not the one setup by the image
756+
CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
757+
conda activate "${CONDA_ENV}"
758+
759+
BUILD_TOOL="cmake"
760+
761+
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-openvino.sh

0 commit comments

Comments
 (0)