Skip to content

Commit

Permalink
Add GitHub CI build script
Browse files Browse the repository at this point in the history
  • Loading branch information
basil-conto committed Jan 13, 2024
1 parent fb07088 commit ce4d847
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down

0 comments on commit ce4d847

Please sign in to comment.