mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-24 03:11:03 -07:00
Pass the right Uranium directory to CMake when running on CI
This commit is contained in:
parent
04e517eddf
commit
2620d7748e
1 changed files with 2 additions and 1 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
|
@ -15,7 +15,8 @@ parallel_nodes(['linux && cura', 'windows && cura']) {
|
||||||
// Perform the "build". Since Uranium is Python code, this basically only ensures CMake is setup.
|
// Perform the "build". Since Uranium is Python code, this basically only ensures CMake is setup.
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
// Ensure CMake is setup. Note that since this is Python code we do not really "build" it.
|
// Ensure CMake is setup. Note that since this is Python code we do not really "build" it.
|
||||||
cmake("..", "-DCMAKE_PREFIX_PATH=${env.CURA_ENVIRONMENT_PATH} -DCMAKE_BUILD_TYPE=Release -DURANIUM_SCRIPTS_DIR=")
|
def uranium_dir = get_workspace_dir("Ultimaker/Uranium/master")
|
||||||
|
cmake("..", "-DCMAKE_PREFIX_PATH=${env.CURA_ENVIRONMENT_PATH} -DCMAKE_BUILD_TYPE=Release -DURANIUM_DIR=${uranium_dir}")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Try and run the unit tests. If this stage fails, we consider the build to be "unstable".
|
// Try and run the unit tests. If this stage fails, we consider the build to be "unstable".
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue