Skip to content

For the GitHub runner, add scons-arguments and cache-key parameters#66

Closed
Ivorforce wants to merge 1 commit intogodotengine:mainfrom
Ivorforce:gh-runner-scons-args
Closed

For the GitHub runner, add scons-arguments and cache-key parameters#66
Ivorforce wants to merge 1 commit intogodotengine:mainfrom
Ivorforce:gh-runner-scons-args

Conversation

@Ivorforce
Copy link
Member

@Ivorforce Ivorforce commented Nov 8, 2024

Also, deprecate float-precision and build-target-type parameters (to be migrated to use scons-arguments instead).

This allows the runner to be used when passing more arguments that aren't covered explicitly, making it more future-proof and compatible with GDExtensions adding their own options.

platform and arch aren't replaced because those parameters are relevant outside the engine, proven by the fact that (at least platform) is used actively as a parameter by the github action.

… parameters in favour of scons-arguments and cache-key parameters. This allows the runner to be used when passing more arguments that aren't covered explicitly, making it more future-proof.
arch: ${{ matrix.arch }}
float-precision: single
build-target-type: template_release
- name: 🔗 GDExtension Build
Copy link
Member Author

Choose a reason for hiding this comment

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

Pretty sure this preset was just broken, as matrix.float-precision wasn't defined.

@fire
Copy link
Member

fire commented Nov 8, 2024

By depreciating float-precision, we assume we're always building for single and double precision.

@Ivorforce
Copy link
Member Author

float-precision can (and should) be passed through the scons-arguments. The functionality itself is not being deprecated.

@Ivorforce
Copy link
Member Author

Noting that I prefer #68 - but don't merge either branch without discussion!

@Ivorforce
Copy link
Member Author

As per GDExtension meeting, we will move the github setup action to godot-cpp. This will be better represented by another PR.

@Ivorforce Ivorforce closed this Nov 26, 2024
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