Use separate CI matrices for the three supported platforms #103
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: "CI" | ||
on: | ||
schedule: | ||
- cron: "15 7 * * 1" | ||
pull_request: | ||
push: | ||
paths-ignore: | ||
- '**.md' | ||
- '**.org' | ||
- '.dir-locals.el' | ||
branches: | ||
- master | ||
jobs: | ||
linux_x86: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
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] | ||
steps: &common_steps | ||
- uses: actions/checkout@v4 | ||
- name: Setup Emacs | ||
uses: ./ | ||
with: | ||
version: ${{ matrix.emacs_version }} | ||
- name: Check emacs version | ||
run: emacs --version | ||
- name: Check nix tools visible | ||
run: "nix-shell -p cowsay --run 'cowsay hello'" | ||
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: | ||
<<: *common_steps | ||
macos_arm: | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
emacs_version: [28.1, 28.2, 29.1, 29.2, 29.3, release-snapshot, snapshot] | ||
steps: | ||
<<: *common_steps |