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

Add a github-ci script to test compilation on Linux, macOS and Windows #8

Merged
merged 3 commits into from
Dec 22, 2024

Conversation

floooh
Copy link
Contributor

@floooh floooh commented Dec 18, 2024

Currently the build fails on macOS and Windows. Both builds are most likely fixed after applying my other PR (#7) - e.g. the Windows build also fails because of the std:: prefix for math functions.

...in addition there's a lot of warnings in MSVC about double/float conversions which might be worth fixing:

'initializing': conversion from 'double' to 'float', possible loss of data

Example CI run in my fork:

https://github.com/floooh/implot3d/actions/runs/12393862255

@brenocq brenocq self-requested a review December 19, 2024 23:48
@brenocq brenocq added type:chore Maintenance tasks (dependencies, configs) prio:medium Medium priority status:review The task is under review labels Dec 22, 2024
@brenocq brenocq changed the title Add a github-ci script to test compilation on Linux, macOS and Windows. Add a github-ci script to test compilation on Linux, macOS and Windows Dec 22, 2024
@brenocq brenocq changed the base branch from main to dev December 22, 2024 14:20
Copy link
Owner

@brenocq brenocq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@floooh Thank you so much for taking the initiative to write the GitHub CI script! It looks amazing, and I honestly can't think of a way to simplify it further. I'll go ahead and merge it now – I'll also add the badges to the README.

@brenocq brenocq merged commit be74d95 into brenocq:dev Dec 22, 2024
@brenocq brenocq added status:done Task completed successfully and removed status:review The task is under review labels Dec 22, 2024
@brenocq
Copy link
Owner

brenocq commented Dec 22, 2024

Hey @floooh! The README has now been updated with the build badges! I had to split the workflow into multiple files to get one badge per operating system, but it turned out pretty cool.

If you feel like contributing more, feel free to pick a feature from here and leave a comment. There’s tons of work to do kkkkkk. Thanks again!

@floooh floooh deleted the github-ci branch December 24, 2024 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prio:medium Medium priority status:done Task completed successfully type:chore Maintenance tasks (dependencies, configs)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants