ci: Exclude macos tests below 27.x #514
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: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.experimental }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
emacs-version: | |
- 27.2 | |
- 28.2 | |
- 29.3 | |
experimental: [false] | |
include: | |
- os: ubuntu-latest | |
emacs-version: snapshot | |
experimental: true | |
- os: macos-latest | |
emacs-version: snapshot | |
experimental: true | |
- os: windows-latest | |
emacs-version: snapshot | |
experimental: true | |
exclude: | |
- os: macos-latest | |
emacs-version: 27.2 | |
steps: | |
- uses: jcs090218/setup-emacs@master | |
with: | |
version: ${{ matrix.emacs-version }} | |
- uses: emacs-eask/setup-eask@master | |
with: | |
version: 'snapshot' | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
components: rust-src | |
- name: Install Rust Analyzer | |
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' | |
env: | |
RUST_ANALYZER_VERSION: 2020-04-20 | |
run: | | |
mkdir -p $HOME/bin | |
wget https://github.com/rust-analyzer/rust-analyzer/releases/download/$RUST_ANALYZER_VERSION/rust-analyzer-linux -O $HOME/bin/rust-analyzer | |
chmod +x $HOME/bin/rust-analyzer | |
- uses: actions/checkout@v4 | |
- name: Run tests | |
run: 'make ci' |