Skip to content

Commit 677c961

Browse files
authored
Update and rename Jenkinsfile to pipeline.groovy
1 parent 04ce6a2 commit 677c961

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

Jenkinsfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

pipeline.groovy

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
def execute(agent)
2+
{
3+
stage('CMake')
4+
{
5+
agent.execute("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", true)
6+
agent.execute("git -C ./3rdparty/gli reset --hard") // due to gli build system bug
7+
agent.execute("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")
8+
}
9+
10+
stage('Compile Nabla')
11+
{
12+
agent.execute("cmake --build ./build --target Nabla --config Release -j12 -v")
13+
}
14+
}
15+
16+
return this

0 commit comments

Comments
 (0)