From b907f5621df1f2989cda198d489e6ea2ded3aa72 Mon Sep 17 00:00:00 2001 From: Maxwell D Collins Date: Thu, 16 Jul 2026 22:51:59 -0700 Subject: [PATCH] Add Java setup to Windows x64 QNN CI Pipeline Copies the Java setup step from sibling files windows_webgpu.yml, windows_x64_release_xnnpack.yml, windows_x64_release_build_x64_release.yml. This explicitly ensures that a compatible Java version, rather than relying on the JDK already installed on the self-hosted runner. Otherwise there may be breakages when switching the runner. https://github.com/microsoft/onnxruntime/issues/29753 --- .github/workflows/windows_qnn_x64.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/windows_qnn_x64.yml b/.github/workflows/windows_qnn_x64.yml index 08b12112da8bf..b9996b563886b 100644 --- a/.github/workflows/windows_qnn_x64.yml +++ b/.github/workflows/windows_qnn_x64.yml @@ -43,6 +43,13 @@ jobs: python-version: '3.12' architecture: x64 + - name: Setup Java + uses: actions/setup-java@v5 + with: + distribution: 'temurin' + java-version: '17' + architecture: x64 + # onnx (pinned to cmake/deps.txt) + numpy (pinned to requirements.txt, python-conditional) # are required at configure time by the onnxruntime_MATERIALIZE_ONNX_NODE_TESTS gate, which # regenerates the onnx node-test corpus into the build tree (onnx_node_tests\node) for