[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/exec-path-from-shell 1a43e8aea5 090/114: Add simple CI wit
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/exec-path-from-shell 1a43e8aea5 090/114: Add simple CI with Actions |
Date: |
Tue, 5 Sep 2023 04:00:05 -0400 (EDT) |
branch: elpa/exec-path-from-shell
commit 1a43e8aea5c3ff09bc6dda098d54d744e210c899
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>
Add simple CI with Actions
---
.github/workflows/test.yml | 33 +++++++++++++++++++++++++++++++++
Makefile | 28 ++++++++++++++++++++++++++++
README.md | 1 +
3 files changed, 62 insertions(+)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000000..e567a128ec
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,33 @@
+name: CI
+
+on:
+ 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..0b003f961e
--- /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 exec-path-from-shell.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 f43cb3943f..df89f08785 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
[![Melpa
Status](http://melpa.org/packages/exec-path-from-shell-badge.svg)](http://melpa.milkbox.net/#/exec-path-from-shell)
[![Melpa Stable
Status](http://stable.melpa.org/packages/exec-path-from-shell-badge.svg)](http://stable.melpa.org/#/exec-path-from-shell)
+[![Build
Status](https://github.com/purcell/exec-path-from-shell/workflows/CI/badge.svg)](https://github.com/purcell/exec-path-from-shell/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>
# exec-path-from-shell
- [nongnu] elpa/exec-path-from-shell 673f1fc060 058/114: Better warning message, and allow the check to be suppressed, (continued)
- [nongnu] elpa/exec-path-from-shell 673f1fc060 058/114: Better warning message, and allow the check to be suppressed, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 5e80a4159b 059/114: Use a more sane package version placeholder, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell c2ca275d32 061/114: Clarify incompatibility with cmdproxy.exe et al, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 9700a076a9 065/114: Merge pull request #45 from jlandahl/master, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 15d07666fb 074/114: Merge pull request #65 from belak/also-run-on-linux, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell fedb500652 073/114: Fix "Emacssenvironment" typo, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 9def990ba4 069/114: Allow shell to be set explicitly, and change default resolution rules, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 5c44eabbb0 080/114: Declare a variable for the byte compiler, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 54ea2f9c3c 082/114: Make clear that bash and zsh are particularly supported, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 7e7f381884 091/114: Use a better method to establish definition of eshell-path-env, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 1a43e8aea5 090/114: Add simple CI with Actions,
ELPA Syncer <=
- [nongnu] elpa/exec-path-from-shell 9365c94ef1 096/114: Clarify point in README, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 4ea306a76f 103/114: Prefer cl-gensym to gensym for better compatibility across emacs versions, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell e5647b9109 099/114: Add Emacs 27.1 to CI, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell d8824a3a4e 104/114: Set each instance of the buffer local variable eshell-path-env, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell d14d6d2966 106/114: Merge pull request #101 from mnewt/eshell-path-env-in-buffers, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell bf4bdc8b89 107/114: Add Emacs 27.2 to CI matrix, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 0a07f5489c 109/114: Merge pull request #105 from brandelune/patch-1, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell dff9ce3577 112/114: Detect "nu" as a non-standard shell, see #109, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 869bc7ac48 050/114: Merge pull request #28 from emacs18/patch-1, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 30c793b388 054/114: Preserve "" env var values: don't map them to nil, ELPA Syncer, 2023/09/05