diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..cc2671a --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,49 @@ +name: build +on: + pull_request: + paths: + - '!**' + - '.github/workflows/build.yml' + - 'Makefile' + - 'hackernews.el' + push: + paths: + - '!**' + - '.github/workflows/build.yml' + - 'Makefile' + - 'hackernews.el' +permissions: {} +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + 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 + steps: + - uses: actions/checkout@v4 + with: + persist-credentials: false + - uses: purcell/setup-emacs@master + with: + version: ${{ matrix.emacs_version }} + - name: Byte-compile + run: make diff --git a/AUTHORS b/AUTHORS index 7491ada..eef69f5 100644 --- a/AUTHORS +++ b/AUTHORS @@ -4,6 +4,7 @@ appreciation for their public spirit, we list here in alphabetical order a condensed list of their contributions. Basil L. Contovounesios: wrote .dir-locals.el + .github/workflows/build.yml and added AUTHORS and changed .gitignore Makefile README.md Screenshot.png hackernews-pkg.el hackernews.el diff --git a/README.md b/README.md index bcfd574..fa4af3b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Simple Hacker News Emacs Client +[![Build](https://github.com/clarete/hackernews.el/actions/workflows/build.yml/badge.svg)](https://github.com/clarete/hackernews.el/actions/workflows/build.yml) [![MELPA](https://melpa.org/packages/hackernews-badge.svg)](https://melpa.org/#/hackernews) [![MELPA Stable](https://stable.melpa.org/packages/hackernews-badge.svg)](https://stable.melpa.org/#/hackernews)