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 Makefile to build samples #11419

Merged
merged 2 commits into from
Nov 10, 2021
Merged

Add Makefile to build samples #11419

merged 2 commits into from
Nov 10, 2021

Conversation

straight-shoota
Copy link
Member

This patch adds samples/Makefile with recipes to properly build all the example programs.

Make is then used in bin/ci build, replacing a standalone command for that. As a bonus effect we get full codegen, and the examples are completely linked executables - except for the SDL ones; wouldn't bother installing libsdl for that.

As a second step, the samples are additionally built with --debug in CI. That's just another smoke test for seeing if things would break in the future (it would have cought #11384 for example).

Copy link
Member

@beta-ziliani beta-ziliani left a comment

Choose a reason for hiding this comment

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

🚀

@straight-shoota straight-shoota added this to the 1.3.0 milestone Nov 9, 2021
@straight-shoota straight-shoota merged commit 170d737 into master Nov 10, 2021
@straight-shoota straight-shoota deleted the ci/samples-makefile branch November 10, 2021 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants