🆙 Emacs 29.2 で CI する #233
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: | |
pull_request: | |
push: | |
branches: | |
- master | |
- refactor | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
emacs_version: [28.2, 29.2, snapshot] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
id: cache-el-get | |
with: | |
path: var/el-get | |
key: ${{ matrix.os }}-emacs-${{ matrix.emacs_version }}-${{ hashFiles('lisp/toncs-deps.org', 'etc/el-get-recipes/*.rcp') }} | |
- uses: purcell/setup-emacs@master | |
with: | |
version: ${{ matrix.emacs_version }} | |
- name: Install Homebrew dependencies (on macOS) | |
if: matrix.os == 'macos-latest' | |
run: env HOMEBREW_NO_AUTO_UPDATE=1 brew install texinfo cmake libtool | |
- name: Install Homebrew dependencies (on Ubuntu) | |
if: matrix.os == 'ubuntu-latest' | |
run: sudo apt install cmake libtool libtool-bin -y | |
- name: Add texinfo path | |
if: matrix.os == 'macos-latest' | |
run: echo "/usr/local/opt/texinfo/bin" >> $GITHUB_PATH | |
- run: make test | |
env: | |
ERROR_ON_WARN: t | |
EL_GET_SKIP_BYTE_COMPILE: t |