branch: externals/compat commit 9df8e0c20e80ac9d6a2650f21e58c6d3de225f2e Author: Philip Kaludercic <phil...@posteo.net> Commit: Philip Kaludercic <phil...@posteo.net>
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. --- .github/workflows/makefile.yml | 62 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) 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