diff options
| author | Philip Kaludercic <philipk@posteo.net> | 2021-10-10 01:51:10 +0200 |
|---|---|---|
| committer | Philip Kaludercic <philipk@posteo.net> | 2021-10-10 11:50:49 +0200 |
| commit | 9df8e0c20e80ac9d6a2650f21e58c6d3de225f2e (patch) | |
| tree | 7a3e240680502bcd84120e138ba85cb9bf04ce9e /.github | |
| parent | e5a573f4b8c25c43737e789c528bdc1da95826a6 (diff) | |
Add GitHub action file for CI
On GitHub we can make use of the existing infrastructure for continuous
integration, verifying that any contributions via GitHub compile and
pass all tests.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/makefile.yml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml new file mode 100644 index 0000000..a3a1e68 --- /dev/null +++ b/.github/workflows/makefile.yml @@ -0,0 +1,62 @@ +name: CI + +on: + push: + paths-ignore: + - '**.md' + pull_request: + paths-ignore: + - '**.md' + +jobs: + compile: + name: 'Compile' + runs-on: ubuntu-latest + strategy: + matrix: + emacs-version: + - '24.3' + - '24.4' + - '24.5' + - '25.1' + - '25.2' + - '25.3' + - '26.1' + - '26.2' + - '26.3' + - '27.1' + - '27.2' + - 'snapshot' + steps: + - uses: actions/checkout@v2 + - uses: purcell/setup-emacs@master + with: + version: ${{ matrix.emacs-version }} + - name: Compile Elisp files + run: make -k compile + + test: + name: 'Test' + runs-on: ubuntu-latest + strategy: + matrix: + emacs-version: + - '24.3' + - '24.4' + - '24.5' + - '25.1' + - '25.2' + - '25.3' + - '26.1' + - '26.2' + - '26.3' + - '27.1' + - '27.2' + - 'snapshot' + steps: + - uses: actions/checkout@v2 + - uses: purcell/setup-emacs@master + with: + version: ${{ matrix.emacs-version }} + - name: Run tests + run: make test |
