diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..c7b0e2e --- /dev/null +++ b/.github/workflows/test.yml @@ -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: purcell/setup-emacs@master + 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