Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

fix xpu version itrex detect #532

fix xpu version itrex detect

fix xpu version itrex detect #532

Workflow file for this run

name: Windows Binary Test
on:
pull_request:
branches: [main]
paths:
- ".github/workflows/windows-test.yml"
- "requirements.txt"
- "setup.py"
- "intel_extension_for_transformers/transformers/runtime/**"
- "intel_extension_for_transformers/qbits/**"
- "!intel_extension_for_transformers/transformers/runtime/third_party/**"
- "!intel_extension_for_transformers/transformers/runtime/docs/**"
- "!intel_extension_for_transformers/transformers/runtime/test/**"
- "!intel_extension_for_transformers/qbits/qbits_ut/**"
workflow_dispatch:
# If there is a new commit, the previous jobs will be canceled
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
SCRIPT_PATH: ${{ github.workspace }}\.github\workflows\script
WORKING_DIR: ${{ github.workspace }}
permissions:
contents: read
jobs:
Windows-Binary-Test:
runs-on: 'Windows'
steps:
- name: Checkout out Repo
uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-tags: true
path: "a"
- name: Binary build
shell: cmd
run: |
SET HTTP_PROXY=${{ vars.HTTP_PROXY_WINDOWS }}
SET HTTPS_PROXY=${{ vars.HTTP_PROXY_WINDOWS }}
cd ${{ github.workspace }}\a\.github\workflows\script
prepare_env_with_conda.bat