Skip to content

Commit

Permalink
Use separate CI matrices for the three supported platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Apr 29, 2024
1 parent d036424 commit 101c577
Showing 1 changed file with 29 additions and 14 deletions.
43 changes: 29 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,41 @@ on:
- '**.md'
- '**.org'
- '.dir-locals.el'
branches:
- master

jobs:
build:
runs-on: ${{ matrix.os }}
linux_x86:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
emacs_version: [23.4, 24.1, 24.2, 24.3, 24.4, 24.5, 25.1, 25.2, 25.3, 26.1, 26.2, 26.3, 27.1, 27.2, 28.1, 28.2, 29.1, 29.2, 29.3, release-snapshot, snapshot]
exclude:
- os: macos-latest
emacs_version: 23.4
- os: macos-latest
emacs_version: 24.1
- os: macos-latest
emacs_version: 24.2
steps:
- uses: actions/checkout@v4
- name: Setup Emacs
uses: ./
with:
version: ${{ matrix.emacs_version }}
- name: Check emacs version
run: emacs --version

macos_x86:
runs-on: macos-11
strategy:
matrix:
emacs_version: [24.3, 24.4, 24.5, 25.1, 25.2, 25.3, 26.1, 26.2, 26.3, 27.1, 27.2, 28.1, 28.2, 29.1, 29.2, 29.3, release-snapshot, snapshot]
steps:
- uses: actions/checkout@v4
- name: Setup Emacs
uses: ./
with:
version: ${{ matrix.emacs_version }}
- name: Check emacs version
run: emacs --version

macos_arm:
runs-on: macos-latest
strategy:
matrix:
emacs_version: [28.1, 28.2, 29.1, 29.2, 29.3, release-snapshot, snapshot]
steps:
- uses: actions/checkout@v4
- name: Setup Emacs
Expand All @@ -34,5 +51,3 @@ jobs:
version: ${{ matrix.emacs_version }}
- name: Check emacs version
run: emacs --version
- name: Check nix tools visible
run: "nix-shell -p cowsay --run 'cowsay hello'"

0 comments on commit 101c577

Please sign in to comment.