Commit graph

66 commits

Author SHA1 Message Date
Gong BI1XJT
5ab5181314 Add GitHub CI workflows for Android NDK build
Signed-off-by: Gong BI1XJT <bi1xjt@rad1o.cn>
2026-05-17 23:05:04 +08:00
Nate Bargmann
410c172ed6
First cut at MacOS workflows with tar'd artifacts
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.
2025-09-12 18:26:01 -05:00
Nate Bargmann
85bd4882dd
Add the Ubuntu workflow with all features enabled.
Perhaps this can be merged with the no-features variant once a way to
give unique names to the resulting tar files is configured.
2025-09-12 18:26:00 -05:00
Nate Bargmann
b90e1d10b1
Need to add '-y' to apt commands in images used by act
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
2025-09-12 18:26:00 -05:00
Nate Bargmann
bae995413d
Try to fix the tar upload failure 2025-09-10 14:22:49 -05:00
Nate Bargmann
d64520a086
Try again 2025-09-10 14:06:16 -05:00
Nate Bargmann
dd6bc97ae5
One more try... 2025-09-10 14:05:02 -05:00
Nate Bargmann
2c5d2a6d11
Update ubuntu-latest-no-features.yml
Move configure_args into the "steps" section per https://trstringer.com/github-actions-multiline-strings/
2025-09-10 13:52:24 -05:00
Nate Bargmann
4c64c21580
Break out Ubuntu latest to a "no feature" workflow 2025-09-10 13:38:38 -05:00
Nate Bargmann
623ae3d5ce
Fix 'path' indentation 2025-09-10 09:54:05 -05:00
Nate Bargmann
f694eca0dc
First cut at separating CIs with Ubuntu latest
Includes runs without and with language bindings.

Should create a build artifact tar file.

References GitHub issue #1870.
2025-09-10 08:55:31 -05:00
Daniele Forsi IU5HKX
a0792e4f85 Excercise the detect logic for INDI on the macOS CI
libnova is available in brew, but libindi isn't available;
./configure will detect that and not build the INDI driver.
2025-08-24 14:04:54 +02:00
Daniele Forsi IU5HKX
464076f193 Disable Tcl bindings for macOS when running make distcheck 2025-07-27 16:36:58 +02:00
Nate Bargmann
df95e93940
Update issue templates 2025-07-21 21:59:30 -05:00
Daniele Forsi IU5HKX
3d6e5f1684 Do not build the Perl bindings during make distcheck
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.
2025-07-18 00:00:36 +02:00
Daniele Forsi IU5HKX
4bb1688a32 Execute make distcheck with the same settings as the initial configure
Instead of using the defaults
2025-07-18 00:00:36 +02:00
Daniele Forsi IU5HKX
1744db06ba Refactoring to avoid duplications 2025-07-18 00:00:32 +02:00
Daniele Forsi IU5HKX
d98beda2da Enable Python bindings for macOS 2025-07-18 00:00:05 +02:00
Nate Bargmann
275d01c545
Attempt to quell Ubuntu CI error
Ubuntu CI is generating the following error:

E: Failed to fetch https://security.ubuntu.com/ubuntu/pool/main/u/util-linux/uuid-dev_2.39.3-9ubuntu6.2_amd64.deb  404  Not Found [IP: 52.252.163.49 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: Process completed with exit code 100.

This patch updates the repository cache.
2025-07-09 20:46:45 -05:00
Daniele Forsi IU5HKX
84799e2f6c Revert "Install Lua for macOS in the CI"
This reverts commit 419cb02dd5.

Conflicts:
	.github/workflows/c-cpp.yml
2025-07-06 19:45:43 +02:00
Daniele Forsi IU5HKX
54c2eb89a2 Revert "Temporarily disable parallel builds"
This reverts commit 3706f365a5.
2025-07-05 22:19:46 +02:00
Daniele Forsi IU5HKX
8c94897208 Install development package for rigmatrix for Linux in the CI 2025-07-05 22:18:25 +02:00
Daniele Forsi IU5HKX
633cee04d2 Install INDI development packages for Linux in the CI 2025-07-05 22:18:16 +02:00
Daniele Forsi IU5HKX
3706f365a5 Temporarily disable parallel builds 2025-07-05 22:18:16 +02:00
Daniele Forsi IU5HKX
b73d4a5cef Install SWIG for macOS in the CI
Install the latest version available.
2025-07-05 12:42:42 +02:00
Daniele Forsi IU5HKX
585d23ae5b Temporarily disable building Lua bindings on macOS 2025-07-05 12:39:38 +02:00
Daniele Forsi IU5HKX
419cb02dd5 Install Lua for macOS in the CI
Install the latest version available.
2025-07-05 11:51:49 +02:00
Daniele Forsi IU5HKX
6433447e91 Install TCL for macOS in the CI 2025-07-05 11:45:02 +02:00
Daniele Forsi IU5HKX
6a9f93a89e Remove trailing newline from YAML multiline strings 2025-07-05 10:37:30 +02:00
Daniele Forsi IU5HKX
bdde43f175 Execute make with less verbosity for better readability
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.
2025-07-05 10:02:12 +02:00
Daniele Forsi IU5HKX
55805c90c9 Do the configure step with everything "no", then with "yes"
Shared and static libraries are built in both cases.
The usrp driver is "no" in both cases because it's in an
external repository.
2025-07-05 09:55:03 +02:00
Daniele Forsi IU5HKX
623ff17f61 Build all language bindings 2025-07-01 00:32:06 +02:00
Daniele Forsi IU5HKX
bf4daf1486 Enable pytest in github actions, also for feature/* branches 2025-06-15 23:10:07 +02:00
Michael Black W9MDB
1211da41d0 Remove csharp for now 2024-12-27 16:28:06 -06:00
Michael Black W9MDB
f00e4f4708 Add csharp codeql check 2024-12-25 17:12:29 -06:00
Mike Black W9MDB
293f5ec2e5 Suppress initializer-overrides for MacOS build 2024-09-08 16:47:21 -05:00
Mike Black W9MDB
8fcb77664c Fixing MacOS github build 2024-09-08 08:49:08 -05:00
Mike Black W9MDB
111a51217d Fixes for MacOS github build 2024-09-08 08:47:18 -05:00
Mike Black W9MDB
6cc21cdad3 Add MacOS build (latest) to github workflow 2024-09-08 08:43:32 -05:00
Mike Black W9MDB
bddd7e1a7d Fix github build for using libgpsd 2024-04-11 11:27:11 -05:00
Mike Black W9MDB
0fdc78c604 Update github actions 2024-03-01 10:11:06 -06:00
Mike Black W9MDB
c15f5b0da0 Update codeql for deprecated items 2024-03-01 08:16:57 -06:00
Mike Black W9MDB
e8d387d51c Update actions in c-cpp.yml 2023-11-14 23:54:56 -06:00
Mike Black W9MDB
6014e3142d Another attempt to fix codeql deprecation warning 2023-08-11 11:35:29 -05:00
Mike Black W9MDB
f5e30815b7 Fix codeql 2023-08-11 11:32:53 -05:00
Mike Black W9MDB
ef3b90a1be Update codeql 2023-08-11 11:31:57 -05:00
Mike Black W9MDB
72870ec26a Update codeql 2023-08-11 11:11:57 -05:00
Mike Black W9MDB
9824ff6bf0 Update github actions for deprecation 2022-11-27 22:42:52 -06:00
Mike Black W9MDB
c932468a11 Update codeql due to deprecation 2022-11-27 22:35:11 -06:00
Mike Black W9MDB
c8a844daf0 Debugging README in github build 2022-06-17 16:04:10 -05:00