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

Github Actions updates #1841

Merged
merged 29 commits into from
Sep 25, 2023
Merged

Github Actions updates #1841

merged 29 commits into from
Sep 25, 2023

Conversation

srcejon
Copy link
Collaborator

@srcejon srcejon commented Sep 24, 2023

Hi Edouard,

This PR does two main things:

  • Remove building of .zip on Windows in order to free up disk space, and allow the .exe to be built for NSIS issue Win 11  #1839. (I think the .zip isn't used anyway).
  • Add a build on MacOS using QT6. This doesn't produce a releasable .dmg yet, but seems a good way to check that the code compiles without error on the Mac and also with Qt 6, helping catch errors before I go to do a release build.

Note that I've changed the way the version number is obtained for the .exe, as the existing method didn't work when the Action was run in a forked repository. It's now read from the version number used for CPack that I've written to CMakeCache.txt, which should be more reliable that using the git tag.

Added a command in the Windows build to dump out amount of disk space after the build. After removing the .zip build, we now have 0.67 GB left (Github provides 14GB on D drive).

It also fixes a couple of problems in the source, shown when building on the Mac using Qt6 using the new action.

Yeah - it took a few goes!

@f4exb
Copy link
Owner

f4exb commented Sep 25, 2023

Seems to fix the Windows build issue. Well done!

@f4exb f4exb merged commit c245aaa into f4exb:master Sep 25, 2023
2 checks passed
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