Skip to content

Commit

Permalink
GitHub Actions: fixed string for detecting Mac OS.
Browse files Browse the repository at this point in the history
  • Loading branch information
cosinekitty committed Jul 6, 2024
1 parent c5b4422 commit aa2615e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate/run
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ cd generate || Fail "Cannot change back to generate directory."
echo ""
echo "Building C source code for 'generate' program."
CPPCHECK_OPTIONS=-I . -I novas -I vsop -I top2013 --error-exitcode=9 --enable=all --suppress=variableScope --suppress=unusedStructMember --suppress=missingIncludeSystem --suppress=unusedFunction
if [[ "${OS_NAME}" == "macos-latest" ]]; then
if [[ "${OS_NAME}" == "macOS" ]]; then
CPPCHECK_OPTIONS += --check-level=exhaustive
fi
cppcheck ${CPPCHECK_OPTIONS} generate.c earth.c astro_vector.c chebyshev.c codegen.c ephfile.c vsop/vsop.c top2013/top2013.c || exit 1
Expand Down

0 comments on commit aa2615e

Please sign in to comment.