Skip to content

Commit 258f364

Browse files
authored
Create Jenkinsfile
TODO: matrix job with examples and parameters with public interface
1 parent 41ab245 commit 258f364

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Jenkinsfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
stage('CMake')
2+
{
3+
bat returnStatus: true, script: "cmake -DNBL_COMPILE_WITH_CUDA:BOOL=ON -DNBL_BUILD_OPTIX:BOOL=ON -DNBL_BUILD_MITSUBA_LOADER:BOOL=ON -DNBL_BUILD_RADEON_RAYS:BOOL=ON -DNBL_RUN_TESTS:BOOL=ON -S ./ -B ./build -T v143"
4+
bat "git -C ./3rdparty/gli reset --hard" // due to gli build system bug
5+
bat "cmake -DNBL_COMPILE_WITH_CUDA:BOOL=ON -DNBL_BUILD_OPTIX:BOOL=ON -DNBL_BUILD_MITSUBA_LOADER:BOOL=ON -DNBL_BUILD_RADEON_RAYS:BOOL=ON -DNBL_RUN_TESTS:BOOL=ON -S ./ -B ./build -T v143"
6+
}
7+
8+
stage('Compile Nabla')
9+
{
10+
bat "cmake --build ./build --target Nabla --config Release -j12 -v"
11+
}

0 commit comments

Comments
 (0)