Skip to content

Commit 6f92c81

Browse files
authored
[CI] Windows builds in post commit (#5639)
Also disable CUDA for now as short on resources.
1 parent eba0b71 commit 6f92c81

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/sycl_post_commit.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,7 @@ jobs:
9797
with:
9898
name: sycl_linux_${{ matrix.config }}
9999
path: llvm_sycl.tar.gz
100+
101+
windows_default:
102+
name: Windows
103+
using: ./.github/workflows/sycl_windows_build_and_test.yml

.github/workflows/sycl_windows_build_and_test.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,9 @@ jobs:
1515
- name: Install dependencies
1616
shell: cmd
1717
run: |
18-
choco install -y cuda --version 11.6.0.51123
1918
choco install -y ninja
2019
choco install -y sccache --version 0.2.15
2120
refreshenv
22-
echo CUDA_PATH=%CUDA_PATH%
23-
echo CUDA_PATH=%CUDA_PATH% >> %GITHUB_ENV%
2421
- uses: ilammy/msvc-dev-cmd@9f8ae839b01883414208f29e3e24524387f48e1f
2522
with:
2623
arch: amd64
@@ -35,9 +32,6 @@ jobs:
3532
sycl-win-build-
3633
- name: Build
3734
shell: cmd
38-
env:
39-
CUDA_PATH: 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6'
40-
CUDA_TOOLKIT_ROOT_DIR: 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6'
4135
# TODO switch to clang-cl and lld when this is fixed https://github.com/oneapi-src/level-zero/issues/83
4236
# TODO enable sccache, when problems with PDB are resolved
4337
run: |
@@ -51,8 +45,7 @@ jobs:
5145
--cmake-opt="-DCMAKE_CXX_COMPILER=cl" ^
5246
--cmake-opt="-DCMAKE_INSTALL_PREFIX=%GITHUB_WORKSPACE%\install" ^
5347
--cmake-opt="-DCMAKE_CXX_COMPILER_LAUNCHER=sccache" ^
54-
--cmake-opt="-DCMAKE_C_COMPILER_LAUNCHER=sccache" ^
55-
--cuda
48+
--cmake-opt="-DCMAKE_C_COMPILER_LAUNCHER=sccache"
5649
cmake --build build --target sycl-toolchain
5750
sccache --show-stats
5851
- name: Install

0 commit comments

Comments
 (0)