Rename Makefile.osx to Makefile.macos, make it arch-neutral, add a macos-universal variant that explicitly does x86_64 + arm64 build

This commit is contained in:
Chris Cannam
2021-01-08 15:34:16 +00:00
parent 9afba06787
commit f15eba1c8f
5 changed files with 291 additions and 15 deletions

View File

@@ -23,5 +23,5 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; brew install libsndfile ; fi
script:
- if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then make -f Makefile.osx && make -f Makefile.ios clean && make -f Makefile.ios ; else ./configure && make ; fi
- if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then make -f Makefile.macos && make -f Makefile.ios clean && make -f Makefile.ios ; else ./configure && make ; fi