Unfortunately, unlike with Ubuntu, MacOS is not available in act, so
these are not tested until they get pushed to master on GitHub.
The objective of these files is to generate a tarball of all build
artifacts so that a build failure can be more fully investigated. I ran
out of time to figure out how to come up with a way to have unique tar
file names. Separate files will do for now.
Using act to locally test workflow runs downloads a Ubuntu image that
is not configured to assume "yes" to apt commands. While this is extra
clutter for the GitHub image, its presence should be useful for others
want to locally test the workflow using act.
https://github.com/nektos/act
Fails on bot Linux and Mac for different reasons.
On Linux:
ERROR: files left after uninstall:
./lib/x86_64-linux-gnu/perl/5.40.1/Hamlib.pm
./lib/x86_64-linux-gnu/perl/5.40.1/auto/Hamlib/Hamlib.so
./lib/x86_64-linux-gnu/perl/5.40.1/auto/Hamlib/.packlist
./lib/x86_64-linux-gnu/perl/5.40.1/perllocal.pod
make[1]: *** [Makefile:921: distuninstallcheck] Error 1
On Mac:
Can't load 'blib/arch/auto/Hamlib/Hamlib.bundle' for module Hamlib: dlopen(blib/arch/auto/Hamlib/Hamlib.bundle, 0x0001): Library not loaded: /Users/runner/work/Hamlib/Hamlib/hamlib-4.7~git/_inst/lib/libhamlib.4.dylib
Referenced from: <0FE3328D-6834-37EA-9827-03864B87CEA4> /Users/runner/work/Hamlib/Hamlib/hamlib-4.7~git/_build/sub/bindings/blib/arch/auto/Hamlib/Hamlib.bundle
Reason: tried: '/Users/runner/work/Hamlib/Hamlib/hamlib-4.7~git/_inst/lib/libhamlib.4.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/work/Hamlib/Hamlib/hamlib-4.7~git/_inst/lib/libhamlib.4.dylib' (no such file), '/Users/runner/work/Hamlib/Hamlib/hamlib-4.7~git/_inst/lib/libhamlib.4.dylib' (no such file) at /opt/homebrew/opt/perl/lib/perl5/5.40/darwin-thread-multi-2level/DynaLoader.pm line 210.
at blib/lib/Hamlib.pm line 11.
This replaces the lines "Entering directory {DIRECTORY}" /
"Leaving directory {DIRECTORY}" with just "Making {TARGET} {DIRECTORY}"
and hides other output. Warning and errors are shown anyway.