[Ref] Mainbar: Small cleanup. #561
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macOS Autotools | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- { host: macos-15, compiler: '16.1' } | |
- { host: macos-15, compiler: '16.0' } | |
- { host: macos-14, compiler: '15.4' } | |
- { host: macos-14, compiler: '15.3' } | |
- { host: macos-13, compiler: '15.2' } | |
- { host: macos-13, compiler: '14.2' } | |
- { host: macos-13, compiler: '14.1' } | |
concurrency: | |
group: ${{github.ref}}-${{github.workflow}}-${{matrix.host}}-${{matrix.compiler}}-autotools | |
cancel-in-progress: true | |
runs-on: ${{matrix.host}} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: update Homebrew | |
run: brew update | |
- name: fixup GitHub Homebrew unxip breakage | |
if: ${{ matrix.host == 'macos-13' }} | |
run: brew pin unxip | |
- name: fixup GitHub Homebrew python breakage | |
if: ${{ matrix.host == 'macos-13' }} | |
run: brew unlink [email protected] && brew unlink [email protected] && brew link --overwrite [email protected] && brew link --overwrite [email protected] | |
- name: upgrade packages | |
run: brew upgrade | |
- name: install dependencies | |
run: brew install p7zip help2man doxygen autoconf autoconf-archive automake libtool mpg123 libogg libvorbis portaudio flac libsndfile sdl2 | |
- name: selecting Xcode version | |
run: sudo xcode-select --switch /Applications/Xcode_${{matrix.compiler}}.app | |
- name: setup parallel make | |
run: echo "MAKEFLAGS=-j$(sysctl -n hw.ncpu)" >> $GITHUB_ENV | |
- name: build | |
run: ./build/autotools/autoconfiscate.sh |