Skip to content

Commit

Permalink
github: add github action support
Browse files Browse the repository at this point in the history
Signed-off-by: Yen-Chin, Lee <[email protected]>
  • Loading branch information
coldnew committed Aug 5, 2023
1 parent 2303013 commit 7a3ff4f
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CI

on:
pull_request:
push:
paths-ignore:
- '**.md'
- '**.org'
- '.dir-locals.el'
branches:
- master

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
emacs_version: [23.4, 24.1, 24.2, 24.3, 24.4, 24.5, 25.1, 25.2, 25.3, 26.1, 26.2, 26.3, 27.1, 27.2, 28.1, 28.2, 29.1, release-snapshot, snapshot]
exclude:
- os: macos-latest
emacs_version: 23.4
- os: macos-latest
emacs_version: 24.1
- os: macos-latest
emacs_version: 24.2

steps:
- uses: actions/checkout@v2
- name: Setup Emacs
uses: ./
with:
version: ${{ matrix.emacs_version }}
- name: Check emacs version
run: emacs --version
- name: Clean and rebuild
run: |
make clean
make
- name: Start UnitTest
run: |
make test

0 comments on commit 7a3ff4f

Please sign in to comment.