Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak CI parameters #1315

Merged
merged 1 commit into from
Mar 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ def setupCXX(CXX = env.CXX) {
}

def runTests(String prefix = "") {
""" make -j${env.PARALLEL} build
${prefix}runCmdStanTests.py -j${env.PARALLEL} src/test/interface
"""
"${prefix}runCmdStanTests.py -j${env.PARALLEL} src/test/interface"
}

def runWinTests(String prefix = "") {
Expand All @@ -27,7 +25,6 @@ def runWinTests(String prefix = "") {
SET \"PATH=C:\\PROGRA~1\\Microsoft^ MPI\\Bin;%PATH%\"
SET \"MPI_HOME=C:\\PROGRA~1\\Microsoft^ MPI\\Bin\"
SET \"PATH=C:\\Users\\jenkins\\Anaconda3;%PATH%\"
make -j${env.PARALLEL} build
python ${prefix}runCmdStanTests.py -j${env.PARALLEL} src/test/interface
"""
}
Expand All @@ -38,7 +35,6 @@ def deleteDirWin() {
deleteDir()
}

def isBranch(String b) { env.BRANCH_NAME == b }
Boolean isPR() { env.CHANGE_URL != null }
String fork() { env.CHANGE_FORK ?: "stan-dev" }
String branchName() { isPR() ? env.CHANGE_BRANCH :env.BRANCH_NAME }
Expand All @@ -62,7 +58,7 @@ pipeline {
MAC_CXX = 'clang++'
LINUX_CXX = 'clang++-6.0'
WIN_CXX = 'g++'
PARALLEL = 8
PARALLEL = 4
MPICXX = 'mpicxx.openmpi'
GIT_AUTHOR_NAME = 'Stan Jenkins'
GIT_AUTHOR_EMAIL = '[email protected]'
Expand Down
2 changes: 1 addition & 1 deletion runCmdStanTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
WIN_SFX = '.exe'
TEST_SFX = '_test.cpp'
DEBUG = False
BATCH_SIZE = 25
BATCH_SIZE = 50

def usage():
sys.stdout.write('usage: %s <path/test/dir(/files)>\n' % sys.argv[0])
Expand Down