Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI tests + translator issue #190

Merged
merged 1 commit into from
Oct 19, 2024
Merged

Conversation

WhyPenguins
Copy link
Contributor

This PR fixes a few issues with the CI tests and workflows so that they pass again.

Details

CI Tests were failing for the following reasons:

  • No audio driver on the workflow virtual machines meant all the audio tests failed
  • delay on macOS seems to be a lot less accurate than the other two (maybe just in the workflow VM?), the related utility test was failing
  • circle_triangle_intersect had an overload but no unique suffix, causing the translator to fail

The audio issue is fixed by adding SDL_AUDIODRIVER: disk as an environment variable to all platforms. The audio is now written to a file (and if we wanted to test against that data we presumably could).

The delay test is made optional on macOS - the check is ran but the test won't fail even if it doesn't pass. And a suffix is added for the circle_triangle_intersect overload.

With this the CI tests pass again 😃

 - Add 'SDL_AUDIODRIVER: disk' env parameter to all workflows
 - Make `delay` test optional on macOS
 - Add suffix for circle_triangle_intersect overload
@macite macite merged commit 2c0fd0f into splashkit:develop Oct 19, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants