Skip to content

Commit

Permalink
[CI] Update Jenkins files for CI checks (#623)
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaodong Li <[email protected]>

Signed-off-by: Xiaodong Li <[email protected]>
  • Loading branch information
DoyleLi authored Aug 17, 2022
1 parent e121841 commit 99995b4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions jenkinsfiles/RHEL_Check.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,7 @@ pipeline {
exit -1
fi
cd ${env.OneAPI_Package_Date}
mv ./build/linux_prod/dpl/linux/include/oneapi/dpl include.bak
cp -rf ../src/include/oneapi/dpl ./build/linux_prod/dpl/linux/include/oneapi/
cp -rf ../src/include/oneapi ./build/linux_prod/dpcpp-ct/include
""", label: "Generate environment vars"
}
catch (e) {
Expand All @@ -242,7 +241,7 @@ pipeline {
}
}
}

stage('Tests_dpcpp_gpu_cxx_17') {
when {
expression { code_changed }
Expand Down Expand Up @@ -378,3 +377,4 @@ pipeline {
}

}

4 changes: 2 additions & 2 deletions jenkinsfiles/UB18_Check.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,7 @@ pipeline {
exit -1
fi
cd ${env.OneAPI_Package_Date}
mv ./build/linux_prod/dpl/linux/include/oneapi/dpl include.bak
cp -rf ../src/include/oneapi/dpl ./build/linux_prod/dpl/linux/include/oneapi/
cp -rf ../src/include/oneapi ./build/linux_prod/dpcpp-ct/include
""", label: "Generate environment vars"
}

Expand Down Expand Up @@ -343,3 +342,4 @@ pipeline {
}

}

4 changes: 2 additions & 2 deletions jenkinsfiles/UB20_Check.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,7 @@ pipeline {
exit -1
fi
cd ${env.OneAPI_Package_Date}
mv ./build/linux_prod/dpl/linux/include/oneapi/dpl include.bak
cp -rf ../src/include/oneapi/dpl ./build/linux_prod/dpl/linux/include/oneapi/
cp -rf ../src/include/oneapi ./build/linux_prod/dpcpp-ct/include
""", label: "Generate environment vars"
}
catch (e) {
Expand Down Expand Up @@ -315,3 +314,4 @@ pipeline {
}

}

3 changes: 2 additions & 1 deletion jenkinsfiles/Windows_Check.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ pipeline {
d:
cd ${env.WORKSPACE}
call D:\\netbatch\\iusers\\oneDPL_CI\\setup_env.bat ${env.OneAPI_Package_Date}
wcontext && call ${env.WORKSPACE}\\win_prod\\compiler\\env\\vars.bat && call ${env.WORKSPACE}\\win_prod\\dpl\\env\\vars.bat && set>envs_tobe_loaded.txt
wcontext && call ${env.WORKSPACE}\\win_prod\\compiler\\env\\vars.bat && call ${env.WORKSPACE}\\win_prod\\dpcpp-ct\\env\\vars.bat && set>envs_tobe_loaded.txt
"""
oneapi_env = readFile('envs_tobe_loaded.txt').split('\r\n') as List
}
Expand Down Expand Up @@ -403,3 +403,4 @@ pipeline {
}

}

0 comments on commit 99995b4

Please sign in to comment.