Skip to content

Commit

Permalink
Add a github workflow for MacOS
Browse files Browse the repository at this point in the history
Signed-off-by: Corey Minyard <[email protected]>
  • Loading branch information
cminyard committed Jul 20, 2023
1 parent 59c97b3 commit aa5ff13
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/macosbuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: MacOSBuild
on:
push:
branches:
- 'master'
tags:
- v*

env:
INSTALLPREFIX: "_local"

jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install autotools
run: |
brew update
brew install libtool
brew install autoconf
brew install automake
- name: Configure
run: |
mkdir $INSTALLPREFIX
./reconf
./configure --prefix=$(pwd)/$INSTALLPREFIX/
- name: Build
run: |
make
make install

0 comments on commit aa5ff13

Please sign in to comment.