Repository navigation
CI: run all eight regression cases with -std=legacy - #4
Merged
Merged
Conversation
Builds with CMake and -std=legacy (gfortran 16 rejects the legacy format strings, e.g. src/xspech.f90:187), runs the CTest unit tests and the eight reference comparisons of build.yml with their tolerances, and reports every case instead of stopping at the first failure.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a
regression-casesworkflow that builds with CMake and-std=legacy, runs the CTest unit tests and runs the eight reference comparisons of build.yml with their tolerances (G1V03L0Fi, G1V03L3Fi, G2V32L1Fi, G3V02L0Fr_LU, G3V02L0Fr, G3V08L3Fi, G3V08L3Fr and G3V08L3FrGrid). Every case is reported rather than stopping at the first failure, and the logs and outputs are uploaded. The flag is needed because gfortran 16 aborts at src/xspech.f90:187 ("Missing comma between descriptors") on the legacy format strings, and it can be dropped once those are fixed upstream.The step logic was checked locally against a master build: 6 cases pass, and G3V08L3Fr and G3V08L3FrGrid fail as expected. Those two pass with the fix in the companion draft PR #3, so this workflow is red on master until that fix lands.
The existing build.yml and build_cmake.yml are unchanged. The
_FGdirectories are not run, as before, because no workflow references them.Chris&AI