Add Emacs 28.2 to CI builds and fix newly introduced warnings (#2905) #135
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: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
emacs_version: | |
- 24.3 | |
- 24.5 | |
- 25.3 | |
- 26.3 | |
- 27.2 | |
- 28.2 | |
- snapshot | |
env: | |
EMACS_VERSION: ${{ matrix.emacs_version }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: purcell/setup-emacs@master | |
with: | |
version: ${{ matrix.emacs_version }} | |
- name: Print GitHub event | |
run: cat "$GITHUB_EVENT_PATH" | |
- name: Print Emacs version and environment variables | |
run: | | |
env | |
emacs --version | |
- name: Install prereqs | |
run: | | |
source test/github-actions.sh | |
prereqs | |
- name: Compilation | |
run: | | |
source test/github-actions.sh | |
byte-compile pkg/*.el | |
byte-compile -Werror *.el methods/*.el | |
- name: Test | |
run: | | |
source test/github-actions.sh | |
ert-tests | |
check-recipes -Wno-features -Wno-github -Wno-autoloads recipes/ | |
check-whitespace | |
check-filenames |