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 more stuff/options to build #23

Merged
merged 1 commit into from
Apr 6, 2024

Conversation

Ughuuu
Copy link
Contributor

@Ughuuu Ughuuu commented Feb 11, 2024

Added an action that can build everything and that can be called from outside. Added info on how to use from readme. Added a sign action.

@Ughuuu Ughuuu force-pushed the add-more-stuff/options-to-build branch from ca3a6c0 to 6dd6a2b Compare February 15, 2024 09:17
@Ughuuu Ughuuu marked this pull request as ready for review February 15, 2024 09:17
@Ughuuu
Copy link
Contributor Author

Ughuuu commented Feb 15, 2024

Updated the commit history also.

@Ughuuu
Copy link
Contributor Author

Ughuuu commented Feb 15, 2024

Before merging this will need to have secrets put in, otherwise actions will fail

@Ughuuu
Copy link
Contributor Author

Ughuuu commented Feb 15, 2024

Also if this is accepted, will need to update the README.md with new instructions on how to reuse the build

@Ughuuu
Copy link
Contributor Author

Ughuuu commented Feb 22, 2024

Ok, update on this. Tested the sign and it works, here: https://github.com/V-Sekai/godot-whisper/actions/runs/8007668184
As you can see if you download this gdextension, it will be signed on mac. Also the build uses the reusable ughuuu/... workflow actions.

Copy link
Collaborator

@paddy-exe paddy-exe left a comment

Choose a reason for hiding this comment

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

First of all thank you very much for this Pull Request! I finally had enough time to go through all the changes you made and I made some nitpicks in terms of grammar, the copyright notice and have some questions. Also it would be great if you could rebase all commits into one.
This looks already fantastic though :)

.github/actions/build/action.yml Outdated Show resolved Hide resolved
.github/actions/build/action.yml Outdated Show resolved Hide resolved
.github/actions/build/action.yml Outdated Show resolved Hide resolved
.github/actions/build/action.yml Outdated Show resolved Hide resolved
.github/actions/build/action.yml Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
THIRDPARTY.txt Outdated Show resolved Hide resolved
@Ughuuu
Copy link
Contributor Author

Ughuuu commented Apr 5, 2024

Thanks, wish it could be merged in this at some point.
I will merge all in one when all implementation is done I guess.
For the open question I answered, basically I can lint the files, but that would add those as changed in this PR as well.
Also, as for env vars for signing, if you don't add it, it won't sign your binary on mac, if you want to sign them, you have to add some env secrets.

Copy link
Collaborator

@paddy-exe paddy-exe left a comment

Choose a reason for hiding this comment

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

Alright this looks great! I only found one more thing to correct. If you then squash your commits and rebase I can merge the PR. Thanks again for your patience with this

.github/actions/build/action.yml Outdated Show resolved Hide resolved
@Ughuuu
Copy link
Contributor Author

Ughuuu commented Apr 5, 2024

If you want linting also on the repo, there can be another pr that applies lint, and then i can uncomment the lines for linting. Its not that important anyway, the important parts are reusing builds flows and the signing action.

fix issue

update

Update action.yml

lint

Update action.yml

Update action.yml

Update build.yml

Update build.yml

Update action.yml

Update action.yml

update with only 1 action

Revert "try at root lvl"

This reverts commit 0c46c0a.

try at root lvl

check to see if works with 4.2

upd

update gdextension location to root

upd

upd

Update action.yml

Update action.yml

Update action.yml

Update action.yml

Update action.yml

upd

Update action.yml

Update build.yml

Update build.yml

upd

upd

fix

update with matrixes

upd

upd

upd

Update builds.yml

Update build-gdextension.yml

Update builds.yml

rename

Update action.yml

Remove thirdparty.txt

Update action.yml

Update action.yml

Update action.yml

Update action.yml

Update README.md

Update README.md

Update action.yml

Add build so that it can be reused.

fix issue

update

Update action.yml

lint

Update action.yml

Update action.yml

Update build.yml

Update build.yml

Update action.yml

Update action.yml

update with only 1 action

Revert "try at root lvl"

This reverts commit 0c46c0a.

try at root lvl

check to see if works with 4.2

upd

update gdextension location to root

upd

upd

Update action.yml

Update action.yml

Update action.yml

Update action.yml

Update action.yml

upd

Update action.yml

Update build.yml

Update build.yml

upd

upd

fix

update with matrixes

upd

upd

upd

Update builds.yml

Update build-gdextension.yml

Update builds.yml

rename

update thirdparty

Update action.yml

Update action.yml

update readme.

Update builds.yml

Update builds.yml

upd binary name

Update action.yml

upd

Update Info.plist

remove -

upd

update readme

upd

add thirdparty. Update info about where the script comes from.

Update action.yml

Update builds.yml

update

upd

Update action.yml

update readme

Update action.yml

update

Update README.md

Update README.md

Update README.md

Update README.md

Update README.md

Update README.md

Update action.yml

Update action.yml

try debug symbols

Update action.yml

update

Update action.yml

Update action.yml

Update action.yml

Update action.yml

use macos 14.3. See if anything changes

Update action.yml

Update README.md

Update action.yml

Update action.yml

Update action.yml

try sudo in sh

Update action.yml

Update action.yml

Update action.yml

Update action.yml

Update action.yml

Update action.yml

try to staple too?

Update action.yml

Update action.yml

Update action.yml

Update action.yml

Update action.yml

update readme.

Update builds.yml

Update builds.yml

upd binary name

Update action.yml

upd

Update Info.plist

remove -

upd

update readme

upd

add thirdparty. Update info about where the script comes from.

Update action.yml

Update builds.yml

update

upd

Update action.yml

update readme

Update action.yml

update

Co-Authored-By: Patrick Exner (FlameLizard) <[email protected]>
@Ughuuu Ughuuu force-pushed the add-more-stuff/options-to-build branch from 783fe06 to 8f3f206 Compare April 5, 2024 14:20
@paddy-exe paddy-exe merged commit 3a2f003 into godotengine:main Apr 6, 2024
@paddy-exe
Copy link
Collaborator

Thanks for this PR and your patience with it 👍🏻

@Ughuuu
Copy link
Contributor Author

Ughuuu commented Apr 6, 2024

Thank you also! No worries about time, wasnt blocked by this or anything. Now i can change all places i reuse this to use this action instead of fork path. Hope the sign action will help also others, as its quite difficult to sign.

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.

Publish a workflow to build a GDExtension for all platforms on the GitHub Marketplace
3 participants