-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3226 from stan-dev/release/v2.33.0
Merge release v2.33.0 into master
- Loading branch information
Showing
112 changed files
with
12,769 additions
and
441 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ import org.stan.Utils | |
|
||
def utils = new org.stan.Utils() | ||
def skipRemainingStages = false | ||
def skipOpenCL = false | ||
|
||
def setupCXX(failOnError = true, CXX = CXX, String stanc3_bin_url = "nightly") { | ||
errorStr = failOnError ? "-Werror " : "" | ||
|
@@ -105,6 +106,11 @@ pipeline { | |
GIT_AUTHOR_EMAIL = '[email protected]' | ||
GIT_COMMITTER_NAME = 'Stan Jenkins' | ||
GIT_COMMITTER_EMAIL = '[email protected]' | ||
OPENCL_DEVICE_ID_CPU = 0 | ||
OPENCL_DEVICE_ID_GPU = 0 | ||
OPENCL_PLATFORM_ID = 1 | ||
OPENCL_PLATFORM_ID_CPU = 0 | ||
OPENCL_PLATFORM_ID_GPU = 0 | ||
} | ||
stages { | ||
|
||
|
@@ -236,6 +242,9 @@ pipeline { | |
].join(" ") | ||
|
||
skipRemainingStages = utils.verifyChanges(paths) | ||
|
||
def openCLPaths = ['src/stan/model/indexing'].join(" ") | ||
skipOpenCL = utils.verifyChanges(openCLPaths) | ||
} | ||
} | ||
post { | ||
|
@@ -255,9 +264,6 @@ pipeline { | |
agent { label 'windows' } | ||
when { | ||
expression { | ||
( env.BRANCH_NAME == "develop" || | ||
env.BRANCH_NAME == "master" || | ||
params.run_tests_all_os ) && | ||
!skipRemainingStages | ||
} | ||
} | ||
|
@@ -284,13 +290,20 @@ pipeline { | |
docker { | ||
image 'stanorg/ci:gpu' | ||
label 'linux' | ||
args '--pull always' | ||
args '--pull always --gpus 1' | ||
} | ||
} | ||
steps { | ||
unstash 'StanSetup' | ||
setupCXX(true, LINUX_CXX, stanc3_bin_url()) | ||
sh "make -j${PARALLEL} test-headers" | ||
sh """ | ||
echo STAN_OPENCL=true > make/local | ||
echo OPENCL_PLATFORM_ID=${OPENCL_PLATFORM_ID_GPU} >> make/local | ||
echo OPENCL_DEVICE_ID=${OPENCL_DEVICE_ID_GPU} >> make/local | ||
""" | ||
sh """ | ||
make -j${PARALLEL} test-headers | ||
""" | ||
runTests("src/test/unit") | ||
} | ||
post { always { deleteDir() } } | ||
|
@@ -425,9 +438,6 @@ pipeline { | |
agent { label 'windows' } | ||
when { | ||
expression { | ||
( env.BRANCH_NAME == "develop" || | ||
env.BRANCH_NAME == "master" || | ||
params.run_tests_all_os ) && | ||
!skipRemainingStages | ||
} | ||
} | ||
|
@@ -504,7 +514,7 @@ pipeline { | |
enabledForFailure: true, | ||
aggregatingResults : false, | ||
filters: [ | ||
excludeFile('/lib/.*') | ||
excludeFile('lib/.*') | ||
], | ||
tools: [ | ||
gcc4(id: "pipeline_gcc4", name: "GNU C Compiler"), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.