|
63 | 63 | with:
|
64 | 64 | name: gtest_outputs_xml
|
65 | 65 | path: '**/*_test.xml'
|
66 |
| - fwd-mix: |
67 |
| - name: fwd and mix tests |
| 66 | + fwd-non-fun-mix: |
| 67 | + name: fwd tests and non-fun mix tests |
68 | 68 | runs-on: windows-latest
|
69 | 69 |
|
70 | 70 | steps:
|
@@ -93,11 +93,56 @@ jobs:
|
93 | 93 | - name: Add TBB to PATH
|
94 | 94 | shell: powershell
|
95 | 95 | run: echo "D:/a/math/math/lib/tbb" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
96 |
| - - name: Run fwd and mix unit tests |
| 96 | + - name: Run fwd unit tests and all the mix tests except those in mix/fun |
97 | 97 | shell: powershell
|
98 | 98 | run: |
|
99 |
| - python.exe runTests.py -j2 test/unit/math/fwd |
100 |
| - python.exe runTests.py -j2 test/unit/math/mix |
| 99 | + python.exe runTests.py test/unit/math/fwd |
| 100 | + python.exe runTests.py test/unit/math/mix/core |
| 101 | + python.exe runTests.py test/unit/math/mix/functor |
| 102 | + python.exe runTests.py test/unit/math/mix/meta |
| 103 | + python.exe runTests.py test/unit/math/mix/prob |
| 104 | + python.exe runTests.py test/unit/math/mix/*_test.cpp |
| 105 | +
|
| 106 | + - name: Upload gtest_output xml |
| 107 | + uses: actions/upload-artifact@v2 |
| 108 | + if: failure() |
| 109 | + with: |
| 110 | + name: gtest_outputs_xml |
| 111 | + path: '**/*_test.xml' |
| 112 | + mix-fun: |
| 113 | + name: mix/fun tests |
| 114 | + runs-on: windows-latest |
| 115 | + |
| 116 | + steps: |
| 117 | + - uses: actions/checkout@v2 |
| 118 | + - uses: actions/setup-python@v2 |
| 119 | + with: |
| 120 | + python-version: '2.x' |
| 121 | + - name: Download RTools |
| 122 | + run: Invoke-WebRequest -Uri https://cran.rstudio.com/bin/windows/Rtools/Rtools35.exe -OutFile ./R35.exe |
| 123 | + - name: Install RTools |
| 124 | + shell: powershell |
| 125 | + run: Start-Process -FilePath ./R35.exe -ArgumentList /VERYSILENT -NoNewWindow -Wait |
| 126 | + - name: PATH Setup |
| 127 | + shell: powershell |
| 128 | + run: echo "C:/Rtools/bin;C:/Rtools/mingw_64/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8 |
| 129 | + - name: Print g++ & make version and path |
| 130 | + shell: powershell |
| 131 | + run: | |
| 132 | + g++ --version |
| 133 | + Get-Command g++ | Select-Object -ExpandProperty Definition |
| 134 | + mingw32-make --version |
| 135 | + Get-Command mingw32-make | Select-Object -ExpandProperty Definition |
| 136 | + - name: Build Math libs |
| 137 | + shell: powershell |
| 138 | + run: mingw32-make -f make/standalone math-libs |
| 139 | + - name: Add TBB to PATH |
| 140 | + shell: powershell |
| 141 | + run: echo "D:/a/math/math/lib/tbb" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8 |
| 142 | + - name: Run mix/fun unit tests |
| 143 | + shell: powershell |
| 144 | + run: | |
| 145 | + python.exe runTests.py test/unit/math/mix/fun |
101 | 146 |
|
102 | 147 | - name: Upload gtest_output xml
|
103 | 148 | uses: actions/upload-artifact@v2
|
|
0 commit comments