Skip to content

Commit

Permalink
Split fwd and mix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bbbales2 committed Feb 24, 2021
1 parent 83e55b3 commit 6330d88
Showing 1 changed file with 43 additions and 3 deletions.
46 changes: 43 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ jobs:
with:
name: gtest_outputs_xml
path: '**/*_test.xml'
fwd-mix:
name: fwd and mix tests
fwd:
name: fwd tests
runs-on: windows-latest

steps:
Expand Down Expand Up @@ -93,10 +93,50 @@ jobs:
- name: Add TBB to PATH
shell: powershell
run: echo "D:/a/math/math/lib/tbb" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
- name: Run fwd and mix unit tests
- name: Run fwd unit tests
shell: powershell
run: |
python.exe runTests.py test/unit/math/fwd
- name: Upload gtest_output xml
uses: actions/upload-artifact@v2
if: failure()
with:
name: gtest_outputs_xml
path: '**/*_test.xml'
mix:
name: mix tests
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '2.x'
- name: Download RTools
run: Invoke-WebRequest -Uri https://cran.rstudio.com/bin/windows/Rtools/Rtools35.exe -OutFile ./R35.exe
- name: Install RTools
shell: powershell
run: Start-Process -FilePath ./R35.exe -ArgumentList /VERYSILENT -NoNewWindow -Wait
- name: PATH Setup
shell: powershell
run: echo "C:/Rtools/bin;C:/Rtools/mingw_64/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
- name: Print g++ & make version and path
shell: powershell
run: |
g++ --version
Get-Command g++ | Select-Object -ExpandProperty Definition
mingw32-make --version
Get-Command mingw32-make | Select-Object -ExpandProperty Definition
- name: Build Math libs
shell: powershell
run: mingw32-make -f make/standalone math-libs
- name: Add TBB to PATH
shell: powershell
run: echo "D:/a/math/math/lib/tbb" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
- name: Run mix unit tests
shell: powershell
run: |
python.exe runTests.py test/unit/math/mix
- name: Upload gtest_output xml
Expand Down

0 comments on commit 6330d88

Please sign in to comment.