try icc win ci

This commit is contained in:
ado 2021-02-25 21:48:52 +01:00
parent cbc59655d2
commit f4430fdb77
2 changed files with 7 additions and 2 deletions

View File

@ -57,10 +57,14 @@ jobs:
run: script/ci_win_setup_icc.bat
- name: Configure
run: CXX=dpcpp && cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug
run: >-
cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug
-D CMAKE_CXX_COMPILER=dpcpp
- name: Build
run: CXX=dpcpp && cmake --build build -j ${{ steps.cores.outputs.count }}
run: >-
cmake --build build -j ${{ steps.cores.outputs.count }}
-D CMAKE_CXX_COMPILER=dpcpp
- name: Run
working-directory: build

View File

@ -4,3 +4,4 @@ REM SPDX-License-Identifier: MIT
for /f "tokens=* usebackq" %%f in (`dir /b "C:\Program Files (x86)\Intel\oneAPI\compiler\" ^| findstr /V latest ^| sort`) do @set "LATEST_VERSION=%%f"
@call "C:\Program Files (x86)\Intel\oneAPI\compiler\%LATEST_VERSION%\env\vars.bat"
@call "C:\Program Files (x86)\Intel\oneAPI\tbb\%LATEST_VERSION%\env\vars.bat"