Skip to content

Merge pull request #219 from joonho112/master #42

Merge pull request #219 from joonho112/master

Merge pull request #219 from joonho112/master #42

Workflow file for this run

name: Compile models
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v2
with:
python-version: '3.x'
architecture: 'x64'
- uses: actions/checkout@v2
with:
repository: 'stan-dev/performance-tests-cmdstan'
submodules: recursive
- uses: actions/checkout@v2
with:
path: 'example-models-new'
fetch-depth: 0
- name: Write modified models
run: |
cd example-models-new
echo "example-models-new/basic_distributions/binormal.stan" > ../test-models.txt
git diff --name-only origin/master $GITHUB_SHA --diff-filter=AM | grep ".stan$" | sed -e 's/^/example-models-new\//' >> ../test-models.txt
- name: Compile all new or modified models
run: |
cd cmdstan
make build
cd ..
./runPerformanceTests.py --runs=0 --tests-file test-models.txt