[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/symbol-overlay dc9f5f1d44 5/6: Merge pull request #87 from
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/symbol-overlay dc9f5f1d44 5/6: Merge pull request #87 from wolray/add-github-actions-ci |
Date: |
Thu, 15 Dec 2022 12:59:40 -0500 (EST) |
branch: elpa/symbol-overlay
commit dc9f5f1d4446b5d3af026c3960464aa808504fd5
Merge: c439b73a5f 7cef46c6c9
Author: Steve Purcell <steve@sanityinc.com>
Commit: GitHub <noreply@github.com>
Merge pull request #87 from wolray/add-github-actions-ci
Add basic CI with byte compilation and package-lint check
---
.github/workflows/test.yml | 33 +++++++++++++++++++++++++++++++++
Makefile | 28 ++++++++++++++++++++++++++++
2 files changed, 61 insertions(+)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000000..e95f8b7444
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,33 @@
+name: CI
+
+on:
+ pull_request:
+ push:
+ paths-ignore:
+ - '**.md'
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ emacs_version:
+ - 24.3
+ - 24.5
+ - 25.1
+ - 25.3
+ - 26.1
+ - 26.3
+ - 27.1
+ - 27.2
+ - 28.1
+ - 28.2
+ - snapshot
+ steps:
+ - uses: purcell/setup-emacs@master
+ with:
+ version: ${{ matrix.emacs_version }}
+
+ - uses: actions/checkout@v2
+ - name: Run tests
+ run: make
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000..9bb1cd306f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,28 @@
+EMACS ?= emacs
+
+# A space-separated list of required package names
+NEEDED_PACKAGES = package-lint seq
+
+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 symbol-overlay.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
- [nongnu] elpa/symbol-overlay updated (c439b73a5f -> f18493673d), ELPA Syncer, 2022/12/15
- [nongnu] elpa/symbol-overlay 1071d4ac87 3/6: Minor improvement., ELPA Syncer, 2022/12/15
- [nongnu] elpa/symbol-overlay dc9f5f1d44 5/6: Merge pull request #87 from wolray/add-github-actions-ci,
ELPA Syncer <=
- [nongnu] elpa/symbol-overlay 5274b7ee77 2/6: Fix and optimize symbol-overlay-get-list., ELPA Syncer, 2022/12/15
- [nongnu] elpa/symbol-overlay 11749c31f4 1/6: Update for Emacs 29, ELPA Syncer, 2022/12/15
- [nongnu] elpa/symbol-overlay f18493673d 6/6: Merge pull request #86 from ksqsf/master, ELPA Syncer, 2022/12/15
- [nongnu] elpa/symbol-overlay 7cef46c6c9 4/6: Add basic CI with byte compilation and package-lint check, ELPA Syncer, 2022/12/15