Attempt to fix OSX testing #61
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: test | |
on: push | |
jobs: | |
test-windows: | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup MSYS2 | |
uses: msys2/setup-msys2@v2 | |
with: | |
msystem: mingw64 | |
install: mingw-w64-x86_64-emacs base-devel autotools git | |
- name: Compile | |
run: | | |
make | |
- name: Run tests | |
run: | | |
make test | |
test-unix-like: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
emacs-version: [26.3, 27.2, 28.2, 29.2, snapshot] | |
exclude: | |
- os: macos-latest | |
emacs-version: 26.3 | |
- os: macos-latest | |
emacs-version: 27.2 | |
runs-on: ${{ matrix.os }} | |
continue-on-error: true | |
env: | |
CC: ${{ matrix.os == 'macos-latest' && 'clang' || 'gcc' }} | |
steps: | |
- uses: actions/checkout@v3 | |
- run: brew install automake libtool | |
if: matrix.os == 'macos-latest' | |
- name: Install Emacs | |
uses: purcell/setup-emacs@master | |
with: | |
version: ${{ matrix.emacs-version }} | |
- name: Compile | |
run: | | |
make | |
- name: Run tests | |
run: | | |
make test |