Skip to content

ci(github-actions): Update Emacs versions #45

ci(github-actions): Update Emacs versions

ci(github-actions): Update Emacs versions #45

Workflow file for this run

name: CI
on:
push:
branches:
- master
- ci
- github-actions
paths-ignore:
- guide/**
pull_request:
branches:
- master
paths-ignore:
- guide/**
jobs:
ci:
strategy:
fail-fast: false
matrix:
os:
- macos-11
- macos-12
- ubuntu-20.04
- ubuntu-22.04
emacs-version:
- '26.3'
- '27.2'
- '28.2'
- '29.2'
include:
# Older Emacs binaries for Windows don't have dynamic modules enabled.
- os: windows-2019
emacs-version: '29.2'
- os: windows-2022
emacs-version: '29.2'
runs-on: ${{ matrix.os }}
steps:
- name: Set up Rust
run: |
rustup install stable
rustc -Vv
cargo -V
- uses: actions/checkout@v4
- name: Build
run: ./bin/build
- run: cargo test --all
- uses: purcell/[email protected]
if: runner.os != 'Windows'
with:
version: ${{ matrix.emacs-version }}
- uses: jcs090218/setup-emacs-windows@master
if: runner.os == 'Windows'
with:
version: ${{ matrix.emacs-version }}
- run: ./bin/test
ci-aarch64:
runs-on: macos-11
steps:
- name: Set up Rust
run: |
rustup install stable
rustup target add aarch64-apple-darwin
rustc -Vv
cargo -V
- uses: actions/checkout@v4
- name: Build
run: ./bin/build
env:
CARGO_BUILD_TARGET: aarch64-apple-darwin