File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 8080 git checkout origin/pr/${{ inputs.pr_no }}/merge
8181 git rev-parse origin/pr/${{ inputs.pr_no }}/merge
8282
83- - name : Install pip packages
83+ - name : Create virtual environment
84+ run : python -m venv .venv
85+
86+ - name : Activate virtual environment and install pip packages
8487 run : |
85- pip install --force-reinstall -r ${{github.workspace}}/sycl-repo/devops/scripts/benchmarks/requirements.txt
88+ source .venv/bin/activate
89+ pip install -r ${{github.workspace}}/sycl-repo/devops/scripts/benchmarks/requirements.txt
8690
8791 - name : Configure SYCL
8892 run : >
@@ -139,6 +143,7 @@ jobs:
139143 working-directory : ${{ github.workspace }}
140144 id : benchmarks
141145 run : >
146+ source .venv/bin/activate &&
142147 taskset -c "${{ env.CORES }}" ${{ github.workspace }}/sycl-repo/devops/scripts/benchmarks/main.py
143148 ~/llvm_bench_workdir
144149 --sycl ${{ github.workspace }}/sycl_build
You can’t perform that action at this time.
0 commit comments