Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Add macOS versions to build matrix #278

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/emacs-26.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ on:

jobs:
build:
runs-on: macos-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-10.15, macos-11.0]
build_opts:
- ""
- "--build-from-source"
Expand All @@ -35,6 +36,10 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Use XCode 12.2 for Big Sur
if: contains(matrix.os, 'macos-11.0')
run: sudo xcode-select -s "/Applications/Xcode_12.2.app"

- name: Build emacs-plus@26 ${{ matrix.build_opts }}
run: brew install emacs-plus@26.rb ${{ matrix.build_opts }}
working-directory: Formula
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/emacs-27.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ on:

jobs:
build:
runs-on: macos-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-10.15, macos-11.0]
build_opts:
- ""
- "--with-xwidgets"
Expand All @@ -41,6 +42,10 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Use XCode 12.2 for Big Sur
if: contains(matrix.os, 'macos-11.0')
run: sudo xcode-select -s "/Applications/Xcode_12.2.app"

- name: Install xquartz
if: contains(matrix.build_opts, '--with-x11')
run: brew cask install xquartz
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/emacs-28.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ on:

jobs:
build:
runs-on: macos-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-10.15, macos-11.0]
build_opts:
- ""
- "--with-xwidgets"
Expand All @@ -37,6 +38,10 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Use XCode 12.2 for Big Sur
if: contains(matrix.os, 'macos-11.0')
run: sudo xcode-select -s "/Applications/Xcode_12.2.app"

- name: Build emacs-plus@28 ${{ matrix.build_opts }}
run: brew install emacs-plus@28.rb ${{ matrix.build_opts }}
working-directory: Formula
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/emacs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ on:

jobs:
build:
runs-on: macos-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-10.15, macos-11.0]
build_opts:
- ""
- "--build-from-source"
Expand All @@ -31,6 +32,10 @@ jobs:
steps:
- uses: actions/checkout@v1

- name: Use XCode 12.2 for Big Sur
if: contains(matrix.os, 'macos-11.0')
run: sudo xcode-select -s "/Applications/Xcode_12.2.app"

- name: Build emacs-plus ${{ matrix.build_opts }}
uses: nick-invision/retry@v1
with:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/online.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,18 @@ on:

jobs:
build:
runs-on: macos-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-10.15, macos-11.0]

steps:
- uses: actions/checkout@v1

- name: Use XCode 12.2 for Big Sur
if: contains(matrix.os, 'macos-11.0')
run: sudo xcode-select -s "/Applications/Xcode_12.2.app"

- name: Tap emacs-plus
run: brew tap d12frosted/emacs-plus

Expand Down