Skip to content

Rebuild everything

Rebuild everything #84

Workflow file for this run

name: Rebuild everything
on:
schedule:
- cron: '30 0 * * Mon'
workflow_dispatch:
jobs:
test-bot:
name: Check syntax
runs-on: ubuntu-latest
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
core: true
- run: brew test-bot --only-cleanup-before
- run: brew test-bot --only-setup
- run: brew test-bot --only-tap-syntax
build-unit:
name: Build Unit
needs: test-bot
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-12, macOS-13, macOS-14]
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
core: true
- name: Build Unit
run:
brew install --build-from-source unit
build-unit-perl:
name: Build Unit Perl module
needs: build-unit
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-12, macOS-13, macOS-14]
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
core: true
- name: Build Unit Perl module
run: |
brew install --build-from-source perl
brew install --build-from-source Formula/unit-perl.rb
build-unit-python3:
name: Build Unit Python 3 module
needs: build-unit
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-12, macOS-13, macOS-14]
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
core: true
- name: Build Unit Python 3 module
run:
brew install --build-from-source Formula/unit-python3.rb
build-unit-java:
name: Build Unit Java module
needs: build-unit
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-12, macOS-13, macOS-14]
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
core: true
- name: Build Unit Java module
run:
brew install --build-from-source Formula/unit-java.rb
build-unit-ruby:
name: Build Unit Ruby module
needs: build-unit
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-12, macOS-13, macOS-14]
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
core: true
- name: Build Unit Ruby module
run:
brew install --build-from-source Formula/unit-ruby.rb
build-unit-php:
name: Build Unit PHP module
needs: build-unit
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-12, macOS-13, macOS-14]
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
core: true
- name: Build Unit PHP module
run:
brew install --build-from-source Formula/unit-php.rb
build-unit-wasm:
name: Build Unit WASM module
needs: build-unit
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-12, macOS-13, macOS-14]
steps:
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
core: true
- name: Build Unit WASM module
run:
brew install --build-from-source Formula/unit-wasm.rb