Move some tests from CUDA only to CPU #16173
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows_CI | |
on: | |
push: | |
branches: | |
- main | |
- rel-* | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
Onnxruntime-TVM: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8.x' | |
architecture: 'x64' | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: "" | |
- name: 'Install LLVM-Dev' | |
shell: pwsh | |
run: | | |
conda install llvmdev=12.0.0 | |
conda info | |
conda list | |
- name: 'Add LLVM-Dev binaries to the PATH' | |
run: | | |
echo "C:/Miniconda/Library/bin" >> $GITHUB_PATH | |
- name: 'Setup TVM EP Python requirements' | |
run: | | |
python3 -m pip install -r ${{ github.workspace }}/tools/ci_build/github/linux/tvm/requirements.txt | |
- name: 'rm gtest in conda' | |
shell: pwsh | |
run: | | |
Remove-Item 'C:\Miniconda\Library\lib\cmake\gtest' -Recurse -Force | |
Remove-Item 'C:\Miniconda\Library\lib\gmock.lib' -Force | |
Remove-Item 'C:\Miniconda\Library\lib\gmock_main.lib' -Force | |
Remove-Item 'C:\Miniconda\Library\lib\gtest.lib' -Force | |
Remove-Item 'C:\Miniconda\Library\lib\gtest_main.lib' -Force | |
- name: 'Build and Test' | |
run: | | |
python3 ${{ github.workspace }}/tools/ci_build/build.py --build_dir build --config Release --skip_submodule_sync --parallel --enable_pybind --disable_contrib_ops --disable_ml_ops --skip_onnx_tests --use_tvm |