Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 5 additions & 4 deletions .github/workflows/fortran.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,18 @@ jobs:
# 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
# mooring and statics campaigns) or debug_long (tests over about 200 CPU-s at -O0, listed in
# CMakeLists.txt): the -O0 faults this tier exists for live in code the remaining tests
# reach, and the skipped 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"
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
ctest --test-dir build --output-on-failure --parallel 4 -LE 'slow|debug_long'
else
ctest --test-dir build --output-on-failure --parallel 4
fi
Expand Down
38 changes: 38 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3791,3 +3791,41 @@ if(CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
endif()
endforeach()
endif()

# Tests over about 200 CPU-s at -O0 on the Windows Debug runner (the CI run of #181). A pull
# request's Debug tier skips them with the slow tests (fortran.yml); Release runs them on every
# pull request and the Debug tier on every push to dev and main.
set(CABLEDYN_DEBUG_LONG_TESTS
viv_coupled
viv_inline_deck
viv_frame_deck
viv_wake_deck
python_package
graded_mesh_statics
viv_riser
viv_step_order
coupled_cable_tolerance
static_current_balance
bending_damping_deck
viv_amplitude_deck
hermite_static_azimuth
ei0_slack_dynamics
arclength_rigid_end
viv_lockin
viv_diameter_deck
torsion_current_start
body_rod_physics
c_api_threads_exit
load_power_deck
driver_axial_damping_ratio
example_lazy_wave_vessel_rao
torsion_orcaflex
monolithic_gates
driver_graded_cross_current
attachment_polish_floor
)
foreach(_t IN LISTS CABLEDYN_DEBUG_LONG_TESTS)
if(TEST ${_t})
set_property(TEST ${_t} APPEND PROPERTY LABELS debug_long)
endif()
endforeach()
Loading