Add macOS universal library build support #30
Workflow file for this run
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: Build | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
tags: [v*] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [windows-2022, macos-15, ubuntu-22.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Setup Homebrew Packages | |
if: ${{ runner.os == 'macOS' }} | |
shell: bash | |
run: brew install autoconf automake gettext libtool | |
- name: Setup Apt Packages | |
if: ${{ runner.os == 'Linux' }} | |
shell: bash | |
run: | | |
sudo apt-get update | |
sudo apt-get -y install autoconf automake autopoint gettext | |
- uses: secondlife/action-autobuild@v5 | |
release: | |
needs: build | |
runs-on: [ubuntu-latest] | |
if: startsWith(github.ref, 'refs/tags/v') | |
steps: | |
- uses: secondlife/action-autobuild-release@v3 | |
with: | |
public: true |