Skip to content

Commit

Permalink
also remove oneapi if not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
rschoene committed Aug 19, 2024
1 parent b103544 commit 522b2b7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,15 @@ jobs:
run: |
sudo apt remove clang-10
sudo apt autoremove
- name: Install CUDA runtime (if needed)
if: matrix.CUDA != '0' && matrix.ONEAPI == 0
- name: UnInstall CUDA runtime (if needed)
if: matrix.CUDA != '0' && matrix.ONEAPI == '0'
run: |
sudo rm -rf ${CUDA_ROOT}
- name: UnInstall OneAPI Base-Toolkit (if needed)
if: matrix.ONEAPI != '0' && matrix.CUDA == '0'
run: |
sudo apt remove intel-basekit-${{ matrix.ONEAPI }}
sudo apt autoremove
build-windows:
strategy:
fail-fast: false
Expand Down

0 comments on commit 522b2b7

Please sign in to comment.