Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/fortran.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,22 @@ jobs:
# at once, so each runs single-threaded: OpenMP and OpenBLAS would otherwise start a
# thread per core in every test and oversubscribe the runner. Tests that check
# threading set their own thread counts.
#
# A pull request runs the Debug tier without the tests labelled slow (the long lazy-wave,
# mooring and statics campaigns, about 6500 CPU-s of a 21900 CPU-s Debug suite): the -O0
# faults this tier exists for live in code the remaining tests reach, and the slow tests
# still run in Release on both platforms and on the Prescott kernel. Every push to dev
# and main runs the full suite at -O0, so each merge is hardened without holding the PR.
env:
OMP_NUM_THREADS: "1"
OPENBLAS_NUM_THREADS: "1"
run: ctest --test-dir build --output-on-failure --parallel 4
FAST_DEBUG: ${{ matrix.build_type == 'Debug' && github.event_name == 'pull_request' }}
run: |
if [ "$FAST_DEBUG" = "true" ]; then
ctest --test-dir build --output-on-failure --parallel 4 -LE slow
else
ctest --test-dir build --output-on-failure --parallel 4
fi

# Round-off fragility: a result that depends on the BLAS kernel fails here although every
# job above, on the runner's own kernel, passes. Prescott, an SSE3 kernel of the conda-forge
Expand Down
Loading