diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..6999e33 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,29 @@ +name: build + +on: + pull_request: + push: + branches: + - master + +jobs: + check: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + emacs_version: + - 26.3 + - 27.1 + - snapshot + steps: + - uses: actions/checkout@v2 + - uses: purcell/setup-emacs@master + with: + version: ${{ matrix.emacs_version }} + - run: curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python + - run: echo "/home/runner/.cask/bin" >> $GITHUB_PATH + - run: cask install + - run: make compile + - run: make lint + - run: make test