Emacs (default) #1534
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: Emacs (default) | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
paths: | |
- 'Aliases/emacs-head' | |
- '.github/workflows/emacs.yml' | |
pull_request: | |
paths: | |
- 'Aliases/emacs-head' | |
- '.github/workflows/emacs.yml' | |
schedule: | |
- cron: '0 7 * * *' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-14] | |
build_opts: | |
# Emacs-head@27 - All options (imagemagick@7) | |
- '--with-cocoa --with-no-frame-refocus --with-imagemagick --with-pdumper --with-xwidgets' | |
env: | |
HOMEBREW_EMACS_HEAD_GITHUB_REPOSITORY: ${{ github.repository }} | |
HOMEBREW_EMACS_HEAD_GITHUB_REPOSITORY_REF: ${{ github.head_ref || github.ref }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build emacs-head ${{ matrix.build_opts }} | |
run: | | |
brew update | |
brew upgrade || true | |
brew install --verbose Aliases/$(readlink Aliases/emacs-head) ${{ matrix.build_opts }} | |
- name: Test installation | |
run: brew test Aliases/$(readlink Aliases/emacs-head) |