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 442bddc commit e1603f9
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/macosbuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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
CXX="g++ -Wc++11-extensions" ./configure \
--prefix=$(pwd)/$INSTALLPREFIX/ \
--with-cplusplus-ver=201103
- name: Build
run: |
make
make install

0 comments on commit e1603f9

Please sign in to comment.