@p12tic felt that we should have the log message at the end of the build
script to assist log inspections
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
This is based on the feedback from @p12tic, and I also think it might
lead to a regression on systems that don't have the correct version of CMake,
and/or a Make implementation that doesn't support "-C".
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
We can just do a one-liner here, if it fails, the script fails, and it
should do that. Also renamed macOS_environment to all lower-case (and snake_case).
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
Now, CI builds for macOS involve three separate builds for a range of macOS versions, and a final Universal macOS Binary made on Big Sur. It should work with the M1 chip and x86_64 Intel Macs.
I have also renamed osx_environment->macOS_environment.sh to reflect the new name change of Apple's desktop OS.
In terms of the clean_builds.sh script, this has also been refactored to be more resilient, and efficient (marginally).
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
I've tidied up the code in both of the build scripts used for *nix-like
systems, and the macOS/OSX specific build script helper.
This has been tested on Linux with no issues, but this PR will hopefully
indicate if the changes run without issues on macOS as well.
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>