Add Zig project discovery (#1918) #624
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: | |
paths-ignore: ['**.md', '**.adoc'] | |
pull_request: | |
paths-ignore: ['**.md', '**.adoc'] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
continue-on-error: ${{matrix.emacs_version == 'snapshot'}} | |
strategy: | |
matrix: | |
# Earliest supported + latest in each stable branch + snapshot. | |
emacs_version: ['25.1', '25.3', '26.3', '27.1', '28.1', '29.1', 'snapshot'] | |
steps: | |
- name: Set up Emacs | |
uses: purcell/setup-emacs@master | |
with: | |
version: ${{matrix.emacs_version}} | |
- name: Install Eldev | |
run: curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/github-eldev | sh | |
- name: Check out the source code | |
uses: actions/checkout@v4 | |
- name: Test the project | |
run: | | |
eldev -p -dtT -C test --expect 100 | |
eldev -dtT -C compile --warnings-as-errors |