Skip to content

Improved recipe.

Improved recipe. #78

Workflow file for this run

name: Build and Test Homebrew MetaCall
on:
push:
branches:
- main
tags:
- "v*.*.*"
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [macos-12, macos-13, macos-14]
runs-on: ${{ matrix.os }}
steps:
- name: Check out the repository
uses: actions/checkout@v2
with:
fetch-depth: 0
# Clean up previous dependencies in order to avoid conflicts with brew
- name: Uninstall brew completely
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
- name: Install brew
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Build Homebrew recipe
- name: Build
run: ./build.sh
# Test Homebrew recipe
- name: Test
run: ./test.sh