Skip to content

Commit

Permalink
Test remaining armel prim
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed Aug 29, 2023
1 parent 8930991 commit 5ac645c
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/multiarch_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ concurrency:

jobs:
multiarch-prim-rev:
name: ${{ matrix.config.platform }} - ${{ matrix.config.batch }}
name: ${{ matrix.config.platform }} ${{ matrix.config.batch }}
runs-on: ubuntu-latest

strategy:
Expand All @@ -44,6 +44,11 @@ jobs:
- { platform: arm/v6, batch: 12}
- { platform: arm/v6, batch: 13}
- { platform: arm/v6, batch: 14}
- { platform: arm/v6, batch: 15}
- { platform: arm/v6, batch: 16}
- { platform: arm/v6, batch: 17}
- { platform: arm/v6, batch: 18}
- { platform: arm/v6, batch: 19}

steps:
- uses: actions/checkout@v3
Expand All @@ -57,15 +62,15 @@ jobs:
cd /work
PrimTests=(test/unit/math/prim/prob/*.cpp test/unit/math/prim/core/*.cpp test/unit/math/prim/meta/*.cpp test/unit/math/prim/err/*.cpp test/unit/math/prim/functor/*.cpp)
NTests=${#PrimTests[@]}
TestsPerBatch="$(($NTests / 15))"
TestsPerBatch="$(($NTests / 20))"
StartOfBatch="$((${{ matrix.config.batch }} * $TestsPerBatch))"
# Compile and run in sub-batches of 5 to fail faster
echo "${PrimTests[@]:${StartOfBatch}:${TestsPerBatch}}" | xargs -n 5 python ./runTests.py -j2
shell: bash

- name: Upload gtest_output xml
uses: actions/upload-artifact@v3
if: failure()
with:
name: gtest_outputs_xml
path: '**/*_test.xml'
- name: Upload gtest_output xml
uses: actions/upload-artifact@v3
if: failure()
with:
name: gtest_outputs_xml
path: '**/*_test.xml'

0 comments on commit 5ac645c

Please sign in to comment.