[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/page-break-lines a550e8d534 65/80: Add CI
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/page-break-lines a550e8d534 65/80: Add CI |
Date: |
Tue, 5 Sep 2023 04:03:08 -0400 (EDT) |
branch: elpa/page-break-lines
commit a550e8d534494669436f4be91ed4e963d0c506f5
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>
Add CI
---
.github/workflows/test.yml | 34 ++++++++++++++++++++++++++++++++++
Makefile | 28 ++++++++++++++++++++++++++++
README.md | 1 +
3 files changed, 63 insertions(+)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000000..1a08a3f03b
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,34 @@
+name: CI
+
+on:
+ pull_request:
+ push:
+ paths-ignore:
+ - '**.md'
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ emacs_version:
+ - 24.1
+ - 24.2
+ - 24.3
+ - 24.4
+ - 24.5
+ - 25.1
+ - 25.2
+ - 25.3
+ - 26.1
+ - 26.2
+ - 26.3
+ - snapshot
+ steps:
+ - uses: purcell/setup-emacs@master
+ with:
+ version: ${{ matrix.emacs_version }}
+
+ - uses: actions/checkout@v1
+ - name: Run tests
+ run: make
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000..7abebe4ad4
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,28 @@
+EMACS ?= emacs
+
+# A space-separated list of required package names
+NEEDED_PACKAGES = package-lint
+
+INIT_PACKAGES="(progn \
+ (require 'package) \
+ (push '(\"melpa\" . \"https://melpa.org/packages/\") package-archives) \
+ (package-initialize) \
+ (dolist (pkg '(${NEEDED_PACKAGES})) \
+ (unless (package-installed-p pkg) \
+ (unless (assoc pkg package-archive-contents) \
+ (package-refresh-contents)) \
+ (package-install pkg))) \
+ )"
+
+all: compile package-lint clean-elc
+
+package-lint:
+ ${EMACS} -Q --eval ${INIT_PACKAGES} -batch -f
package-lint-batch-and-exit page-break-lines.el
+
+compile: clean-elc
+ ${EMACS} -Q --eval ${INIT_PACKAGES} -L . -batch -f batch-byte-compile
*.el
+
+clean-elc:
+ rm -f f.elc
+
+.PHONY: all compile clean-elc package-lint
diff --git a/README.md b/README.md
index 959418ef07..e00e19e3f5 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
[![Melpa
Status](http://melpa.org/packages/page-break-lines-badge.svg)](http://melpa.org/#/page-break-lines)
[![Melpa Stable
Status](http://stable.melpa.org/packages/page-break-lines-badge.svg)](http://stable.melpa.org/#/page-break-lines)
+[![Build
Status](https://github.com/purcell/page-break-lines/workflows/CI/badge.svg)](https://github.com/purcell/page-break-lines/actions)
<a href="https://www.patreon.com/sanityinc"><img alt="Support me"
src="https://img.shields.io/badge/Support%20Me-%F0%9F%92%97-ff69b4.svg"></a>
page-break-lines.el
- [nongnu] elpa/page-break-lines 65fc27e4c8 42/80: Remove turn-on/turn-off functions, (continued)
- [nongnu] elpa/page-break-lines 65fc27e4c8 42/80: Remove turn-on/turn-off functions, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 614293efeb 56/80: Fix docstring reference to page-break-lines-char, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines b8082232c5 45/80: Autoload customizable variables, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 610dbdc9d3 51/80: Perform width calculations pixel-wise to increase accuracy, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 913732ad06 49/80: Fix minor package-lint issues, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 314b397910 67/80: Revert "Prefer set-display-table-slot to raw aset", ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines ba4f69f4af 69/80: Add README reference to Emacs “pages” and their bindings, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 34cd91d841 73/80: Fix other link, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines e9fe243810 32/80: Prefer Package-Version header to Version, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 2b8b800e1d 36/80: Merge pull request #8 from peniblec/mode-line-indicator, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines a550e8d534 65/80: Add CI,
ELPA Syncer <=
- [nongnu] elpa/page-break-lines 29f9314f8e 47/80: Handle the new native display-line-number functionality, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 4e5034de4b 43/80: Adjust the length according to the width of page-break-lines-char, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 6f19d894bd 59/80: Merge pull request #22 from camdez/max-width, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 28783cd6b8 76/80: Replace deprecated function name in README, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines f8c4cd7fc6 68/80: Add Emacs 27.1 to CI, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines cff419b126 01/80: Initial commit, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines a74fba388e 04/80: Convert to separate minor-mode and global-minor-mode variants., ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 24fee30edf 70/80: Merge pull request #32 from MicahElliott/master, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines d310e75652 05/80: Rename face from page-break-lines-face to page-break-lines, ELPA Syncer, 2023/09/05
- [nongnu] elpa/page-break-lines 58c0dd0ace 10/80: Add blog/twitter links, ELPA Syncer, 2023/09/05