Skip to content

Commit

Permalink
Run on branch
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian committed Sep 12, 2023
1 parent 602d348 commit f1227e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def checkCompilation(String testsPath, String stancFlags = ""){
unstash 'ubuntu-exe'

sh """
git clone --recursive --depth 50 https://github.com/stan-dev/performance-tests-cmdstan
git clone --recursive --depth 50 https://github.com/stan-dev/performance-tests-cmdstan --branch=fix/checkCompilation
"""

writeFile(file:"performance-tests-cmdstan/cmdstan/make/local", text:"CXX=${CXX}")
Expand All @@ -54,7 +54,7 @@ def checkCompilation(String testsPath, String stancFlags = ""){
echo 'O=0' >> make/local
echo 'CXXFLAGS+=-Wall' >> make/local
make -j${env.PARALLEL} build; cd ..
python ./checkCompilation.py -j${env.PARALLEL} ${testsPath}
python ./checkCompilation.py -j${env.PARALLEL} --syntax-only ${testsPath}
"""
}

Expand Down

0 comments on commit f1227e5

Please sign in to comment.