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

Multiple bugfixes and tweaks around Github actions. #147

Merged
merged 10 commits into from
May 14, 2024

Conversation

HotaruBlaze
Copy link
Contributor

@HotaruBlaze HotaruBlaze commented May 10, 2024

This PR Merges PR's #145 #142 #139 to be a cleaner initial merge.
This also resolves issues: #146 #140 #144

[API] Handle imink API being down: Actually print an error when imink is down, instead of the previous timestamp error.

[API] Fix getVersion discrepency causing an error: Theirs a mismatch between the regex's in app.py and the cli init, This replaces then with a function dedicated to the regex for both sides.

[Github] Update actions and cleanup job ordering: Updates the action images, Also reorganized the jobs matrix to be cleaner.

[Github:MacOS] Use venv for macos building.: Github updated their MacOS image, requiring venv to build correctly. (Thanks to @spotlightishere for the simple fix!)


Edit: This has been updated to include more changes, listed below.

[Github:MacOS] Add test for macos: This should hopefully catch initial errors such as QT bindings being missing, however only checks if the app launches correctly.

[Github:MacOS] Install pyqt6 inside of venv: We forgot to add pyqt6 to the venv during builds.
[Github] Pin versions and Support PR's: Pinned the github images to specific versions,

Note: We are currently unable to build using macos 14 or macos 13.

MacOS 14 on Github Actions is arm64 only, and we are unable to build a working x64 build on it.
MacOS 13 has a packaging issue that i couldn't get working Suspected issue here, and the suggested fixes do not work.
MacOS 12 still seems to work for now.
This commit also enabled testing PR's before merging, however could become a spam issue on discord in the future, we will need to wait and see.

[Github] Dont include the test output.log file: This is a leftover file from the new MacOS test script that's accidently included in builds.
[Fix] Update _version.py to handle tags and PR's correctly: Fixes the logic where tags can be ordered incorrectly or fails to find the correct tag due to it being a PR.
[Github:MacOS] Fix typo in curl: when updating actions and updating this PR, i made a typo in the script for the action.

@HotaruBlaze HotaruBlaze marked this pull request as draft May 14, 2024 01:36
@HotaruBlaze HotaruBlaze marked this pull request as ready for review May 14, 2024 02:11
@HotaruBlaze
Copy link
Contributor Author

Updated PR with more tweaks, Below is a build

https://github.com/HotaruBlaze/NSO-RPC/releases/tag/dev-%23145-hotarublaze-v2

@HotaruBlaze HotaruBlaze changed the title [Multiple PR's] Update GH and Bugfixes [Multiple PR's] Multiple bugfixes and tweaks around Github actions. May 14, 2024
@HotaruBlaze HotaruBlaze changed the title [Multiple PR's] Multiple bugfixes and tweaks around Github actions. Multiple bugfixes and tweaks around Github actions. May 14, 2024
@MCMi460 MCMi460 merged commit ba58863 into MCMi460:development May 14, 2024
6 checks passed
@MCMi460
Copy link
Owner

MCMi460 commented May 14, 2024

Thanks!

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