mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-06-02 09:46:34 +03:00
Add macOS autotools to github action (#1798)
* Update build.yml to add autotools build for macOS * Update build.yml to use /opt/homebrew
This commit is contained in:
33
.github/workflows/build.yml
vendored
33
.github/workflows/build.yml
vendored
@@ -245,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/local/include" LDFLAGS="-L/opt/homebrew/Cellar" ../src/configure
|
||||
|
||||
- name: Build
|
||||
run: make -C _ambuild -j$(nproc)
|
||||
|
||||
msvc:
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user