Skip to content

Commit

Permalink
Add macOS autotools to github action (avrdudes#1798)
Browse files Browse the repository at this point in the history
* Update build.yml to add autotools build for macOS

* Update build.yml to use /opt/homebrew
  • Loading branch information
mcuee authored Apr 28, 2024
1 parent 55f7da7 commit 3bfcd01
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3bfcd01

Please sign in to comment.