mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-27 19:46:21 +03:00
Merge remote-tracking branch 'upstream/main' into swig_libavrdude
This commit is contained in:
41
.github/workflows/build.yml
vendored
41
.github/workflows/build.yml
vendored
@@ -53,6 +53,7 @@ jobs:
|
||||
libftdi1-dev
|
||||
libreadline-dev
|
||||
libserialport-dev
|
||||
libgpiod-dev
|
||||
texinfo
|
||||
texlive
|
||||
texi2html
|
||||
@@ -96,6 +97,7 @@ jobs:
|
||||
libftdi1-dev
|
||||
libreadline-dev
|
||||
libserialport-dev
|
||||
libgpiod-dev
|
||||
texinfo
|
||||
texlive
|
||||
texi2html
|
||||
@@ -163,6 +165,7 @@ jobs:
|
||||
libftdi1-dev:${{matrix.arch}}
|
||||
libreadline-dev:${{matrix.arch}}
|
||||
libserialport-dev:${{matrix.arch}}
|
||||
libgpiod-dev:${{matrix.arch}}
|
||||
- name: Configure
|
||||
run: >-
|
||||
cmake
|
||||
@@ -214,11 +217,12 @@ jobs:
|
||||
libftdi
|
||||
readline
|
||||
libserialport
|
||||
pkg-config
|
||||
- name: Configure
|
||||
run: >-
|
||||
cmake
|
||||
-D CMAKE_C_FLAGS=-I/usr/local/include
|
||||
-D CMAKE_EXE_LINKER_FLAGS=-L/usr/local/Cellar
|
||||
-D CMAKE_C_FLAGS=-I/opt/homebrew/include
|
||||
-D CMAKE_EXE_LINKER_FLAGS=-L/opt/homebrew/Cellar
|
||||
-D DEBUG_CMAKE=1
|
||||
-D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||
-B build
|
||||
@@ -241,6 +245,39 @@ jobs:
|
||||
build/src/avrdude
|
||||
build/src/avrdude.conf
|
||||
|
||||
macos-x86_64_autotools:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install prerequisites
|
||||
run: >-
|
||||
# brew update
|
||||
|
||||
brew install
|
||||
automake
|
||||
autoconf
|
||||
libtool
|
||||
gettext
|
||||
flex
|
||||
bison
|
||||
libelf
|
||||
libusb
|
||||
hidapi
|
||||
libftdi
|
||||
readline
|
||||
libserialport
|
||||
pkg-config
|
||||
- name: Configure
|
||||
run: >-
|
||||
./src/bootstrap
|
||||
|
||||
mkdir _ambuild && cd _ambuild
|
||||
|
||||
CFLAGS="-I/opt/homebrew/include" LDFLAGS="-L/opt/homebrew/lib" ../src/configure
|
||||
|
||||
- name: Build
|
||||
run: make -C _ambuild -j$(nproc)
|
||||
|
||||
msvc:
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user