Commit Graph

57 Commits

Author SHA1 Message Date
Hans Ulrich Niedermann
16d7d0bbcb ci: Build parallel port code on supported systems
Build parallel port code on supported systems

Unsupported systems are:

  * Windows operating system
  * MacOS operating system

This means the CI can test

  * native Linux builds (yes, even for arm systems)

Untested at this time are the BSDs.

Removes the dysfunctional Windows (since Windows XP)  parallel port code,
and has the buildsystems fail Windows builds if parallel port builds are
requested (HAVE_PARPORT or --enable-parport).

https://github.com/avrdudes/avrdude/pull/1874#issuecomment-2275762550
2024-08-24 15:38:17 +02:00
mcuee
ce0dbc453d Update build.yml to re-enable Windows on ARM64 MSVC build 2024-08-22 17:07:14 +08:00
Hans Ulrich Niedermann
f3e8524cb3 ci: linux-autotools use uninstalled avrdude for test-avrdude
Use the uninstalled avrdude executable and the avrdude.conf config file
which have just been built for the dry-run test with tools/test-avrdude.

Note that the parameter for the config file is a bit unexpected:

    -c "-C path/to/avrdude.conf"
2024-08-16 16:13:28 +02:00
Joerg Wunsch
7b7b3d8837 Merge branch 'main' into swig_libavrdude 2024-08-12 13:30:36 +02:00
Joerg Wunsch
a7eaf6f81f Merge remote-tracking branch 'upstream/main' into swig_libavrdude 2024-08-10 21:46:08 +02:00
Hans Ulrich Niedermann
0b82a1f124 CI: no need to install gettext for linux autotools test 2024-08-07 00:37:14 +02:00
mcuee
f06b436fe7 Update build.yml to add missing libusb-compat for macOS Homebrew 2024-08-06 15:52:41 +08:00
Joerg Wunsch
fcfe327c8a Merge remote-tracking branch 'upstream/main' into swig_libavrdude 2024-04-28 17:11:08 +02:00
mcuee
37ac6ebaa0 macOS autotools build fix 2024-04-28 20:12:12 +08:00
mcuee
3bfcd01309 Add macOS autotools to github action (#1798)
* Update build.yml to add autotools build for macOS

* Update build.yml to use /opt/homebrew
2024-04-28 12:06:26 +01:00
mcuee
dceb55da6a Update build.yml to use /opt/homebrew for macOS github action 2024-04-28 18:19:59 +08:00
mcuee
7e18c0e115 Update build.yml to install pkg-config under macOS 2024-04-27 17:19:55 +08:00
mcuee
e17ee8dbf8 Update build.yml to include libgpiod-dev for Linux builds 2024-04-23 21:28:06 +08:00
Joerg Wunsch
4ab7e197ea Merge branch 'main' into swig_libavrdude 2024-04-14 00:28:17 +02:00
mcuee
d441501505 Adding arduino_packing_release github action (#1690)
Co-authored-by: Umberto Baldi <34278123+umbynos@users.noreply.github.com>
2024-04-13 12:33:09 +01:00
mcuee
306d948bc5 No longer need to use CMAKE_VERBOSE_MAKEFILE 2024-04-05 20:24:56 +08:00
mcuee
9b7d4d832b To use Static Libs for macOS arduino_packing build
This is pointed out by @umbynos during the review of PR #1690
2024-03-29 18:47:17 +08:00
Joerg Wunsch
984eb922b2 Remove MSVC build for arm64 by now
It attempts to link against the wrong (x86) Python libs.
2024-03-18 22:09:27 +01:00
mcuee
cfe608a63f Update build.yml to use CMAKE_VERBOSE_MAKEFILE to debug Windows build
This is to debug Windows MSVC and MSYS2 build.
Previous change already use the same option to debug macOS build.
2024-03-08 17:23:07 +08:00
mcuee
9567f96f1b Update build.yml to revert previous change 2024-03-06 23:15:07 +08:00
mcuee
02d3e16b0e One more try to debug macOS build for SWIG 2024-03-06 23:11:11 +08:00
mcuee
9f6badaf18 Update build.yml to debug macOS Homebrew CI issue 2024-03-06 21:28:25 +08:00
mcuee
a98d2155e7 Update build.yml to add Python/Swig for MSYS2 build 2024-03-06 20:22:09 +08:00
mcuee
d48c944df2 Update build.yml to use Homebrew python 2024-03-06 20:13:01 +08:00
Hans Ulrich Niedermann
8fb73a1458 Add basic CI checks using the autotools build
This add some basic CI checks which exercise the autotools build:

  * make targets "all" "install" testing compilation and installation
  * run the same dry-run test-avrdude check as the cmake builds
  * make target "distcheck" testing that dist tarball contains all
    the necessary files
2024-02-18 16:21:19 +01:00
mcuee
2357f833e1 Remove 32bit MSYS2 mingw32 and clang32 build
MSYS2 has dropped 32bit binary packages for libusb, libusb-compat-git and libftdi.
2024-02-14 13:36:21 +08:00
mcuee
a6b343d13b Add tools/test-avrdude to Linux x86_64 github action 2024-01-29 13:12:13 +08:00
mcuee
8f4fd46874 Update build.yml to add MSYS2 ucrt64, clang32 and clang64 build 2024-01-08 10:22:34 +08:00
mcuee
390e3bacd8 Add GNU readline to mingw github action
Same as https://github.com/avrdudes/avrdude/pull/1513.
2023-11-20 15:23:02 +08:00
mcuee
8222ad8ffc Add Arduino avrdude_packing github action for git man (#1540)
Co-authored-by: Umberto Baldi <34278123+umbynos@users.noreply.github.com>
2023-11-03 13:27:36 +00:00
mcuee
8d71bc7ceb Update build.yml to revert PR #1513
PR #1513 (Add GNU readline to mingw github action) brings in undesired dependency of libwinpthread-1.dll to the mingw32/mingw64 binaries.
2023-10-13 11:07:51 +08:00
mcuee
55853eb422 Add GNU readline to mingw github action (#1513)
* Update build.yml to enable GNU readline for MinGW build

* Update build.yml to include termcap and ncurses
2023-10-11 12:02:43 +08:00
mcuee
7f8e8a1ad3 libserialport github action (#1512)
* Update build.yml to include libserialport except MSVC
2023-10-10 21:39:40 +08:00
Marius Greuel
7ebe5da8c5 GitHub build action: Remove CMAKE_BUILD_TYPE from msvc job to silence warning 2023-01-20 20:50:45 +01:00
Marius Greuel
739d3f85c3 GitHub actions: Use latest versions to remove warning 'Node.js 12 actions are deprecated' 2023-01-05 16:25:08 +01:00
Marius Greuel
a138ec259f CMake: Rename option USE_EXTERNAL to USE_EXTERNAL_LIBS 2022-12-27 16:35:36 +01:00
mcuee
39ab053937 Temporary disable brew update in macOS github action 2022-12-27 07:52:31 +08:00
mcuee
01ed17bd5c Disable GNU Readline for MSVC build
This is to work around the issue of finding the wrong libreadline.a from Strawberry Perl for Windows MSVC github action.

Reference:
https://github.com/avrdudes/avrdude/pull/1194#issuecomment-1325824150
2022-11-24 13:22:12 +08:00
mcuee
b1b8d95154 Update build.yml to remove readline under macOS
This commmit updates github action to remove the needs of GNU Readline under macOS, after the merge of PR avrdudes#1185.
2022-11-22 06:59:29 +08:00
mcuee
5862a5b7e9 Use readline for github action macOS Homebrew
Update github action to use readline keg and not the default libedit under Homebrew
2022-10-24 08:50:57 +08:00
Stefan Rueger
960bf7b959 Revert "Add readline for MSYS2 mingw32/mingw64 build" 2022-10-23 23:04:16 +01:00
Stefan Rueger
0ebf220315 Merge pull request #1148 from mcuee/readline_mingw
Add readline for MSYS2 mingw32/mingw64 build
2022-10-23 22:42:10 +01:00
mcuee
e300861505 Add readline for MSYS2 mingw32/mingw64 build 2022-10-23 14:40:04 +08:00
mcuee
21e372f639 Add libreadline-dev for Linux github action build 2022-10-23 14:03:33 +08:00
Marius Greuel
3b8f41ca20 GitHub Actions: Update apt index before installing packages 2022-09-29 22:02:04 +02:00
Marius Greuel
c633255c01 CMake: Add initial support for texinfo docs 2022-09-04 16:55:16 +02:00
Joerg Wunsch
5a3ff78844 Fix syntax error in workflow build.yml file 2022-04-26 21:41:03 +02:00
Joerg Wunsch
74a92d7991 Try to exclude the 'onlinedocs' branch from actions
There's no sourcecode within that branch, anyway.
2022-04-26 21:29:46 +02:00
Yegor Yefremov
acee6afa4e CMake: split configuration in two files
The main CMakeLists.txt file in the project's root directory takes
care of the main project settings like project name and version,
handling the options, finding dependencies, etc.

The src/CMakeLists.txt handles options that are necessary to build
libavrdude library and avrdude binary.
2022-01-23 21:22:07 +01:00
Marius Greuel
956a274abd Remove libreadline from GitHub build action 2022-01-12 23:19:28 +01:00