Advertisement

CMake: Disable install()

Started by October 27, 2024 06:27 PM
26 comments, last by 1vanK 4 weeks ago

WitchLord said:

Interesting. I didn't know about those capabilities on GitHub. I'll look into it.

Note that it is free, even for macOS runners, but there are monthly time limits (2000 minutes a month, Windows runners use 2x, macOS runners use 10x), see: https://docs.github.com/en/billing/managing-billing-for-your-products/managing-billing-for-github-actions/about-billing-for-github-actions

(It's not going to overcharge you though, it doesn't require a credit card.)

If you're going to switch to the whole git/GitHub/Gitlab workflow do note you can enable actions for pull requests too (and optionally require manual approval for them).

1vanK said:
array> arr; for (int i; …) for (int j; …) int a = arr[i][j]; // Copy arr[i] array on every step

No, there is no copy going on here. The [] operator is returning the element by reference, so it is not copied just for the access.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement

Asu said:
Note that it is free, even for macOS runners, but there are monthly time limits (2000 minutes a month, Windows runners use 2x, macOS runners use 10x),

In all time I have never encountered the limit and have not even been interested in its size

2000 minutes per month is way more than I would need. 🙂 I doubt I would use even a single hour per month.

Asu said:

If you're going to switch to the whole git/GitHub/Gitlab workflow do note you can enable actions for pull requests too (and optionally require manual approval for them).

I'll probably not switch over fully, at least not to start with. I'll probably do a set up that automatically mirrors my SF.net repository (same as the github repository that @miss set up long back), and then set up the automated test runs on that.

I probably won't enable actions for pull requests, as I want to review everything that goes into the library. I'll take the pull requests and manually merge them, test them, and them commit to the SF.net repo, which will then mirror back to the github repo at which point the pull request can be closed.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

https://docs.github.com/ru/billing/managing-billing-for-your-products/managing-billing-for-github-actions/viewing-your-github-actions-usage#viewing-github-actions-usage-for-your-personal-account

Hmmm, I have zero minutes usage on my personal profile and my organization profiles. But I have definitely used more than zero runner minutes XD

@1vank ,

I've made the changes to the cmakefile that you suggested:

https://sourceforge.net/p/angelscript/code/2981/

Please, let me know if it works properly or not.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement

Yes it works, thanks

Advertisement