Skip to content

Commit 1928754

Browse files
committed
Add appveyor.yml
1 parent e8b8116 commit 1928754

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

appveyor.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
image: Visual Studio 2019
2+
3+
install:
4+
# Install OpenCL headers and libraries
5+
- set NUGETDIR=C:\NUGET
6+
- nuget install opencl-nug -Version 0.777.77 -OutputDirectory %NUGETDIR%
7+
- dir %NUGETDIR%\opencl-nug.0.777.77\build\native\
8+
- set OCL_ROOT=%NUGETDIR%\opencl-nug.0.777.77\build\native
9+
# Install OpenCL Runtime
10+
- choco install opencl-intel-cpu-runtime
11+
# Check if it's working
12+
- ps: appveyor DownloadFile "https://ci.appveyor.com/api/projects/oblomov/clinfo/artifacts/clinfo.exe?job=platform:+x64" -FileName clinfo.exe
13+
- .\clinfo.exe
14+
15+
before_build:
16+
- cmd: dotnet --version
17+
- cmd: dotnet tool restore
18+
- cmd: dotnet paket restore
19+
20+
build_script:
21+
- cmd: dotnet build
22+
23+
test_script:
24+
- cmd: dotnet test

0 commit comments

Comments
 (0)