30

Set up Emacs · Actions · GitHub Marketplace · GitHub

 4 years ago
source link: https://github.com/marketplace/actions/set-up-emacs
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
play

GitHub Action

Set up Emacs

v3.0

Latest version

Use latest version

A Github Action that installs a specific emacs version

Uses nix-emacs-ci to provide binaries for a number of different Emacs versions.

Since that project uses Nix, Nix will be installed automatically if necessary, along with the "cachix" tool which enables downloads of the cached binaries. If you already have nix and possibly cachix installed, the existing installations will be used.

Note also that only Linux and MacOS are supported, since Nix is not available on Windows.

Check out examples of using this Action in the wild.

See the actions tab for runs of this action! rocket

Usage:

uses: purcell/setup-emacs@master
with:
  version: 24.5

The emacs executable on the path will then be the requested version. For a list of available versions, please see the nix-emacs-ci project.

For an example of real-life usage, see the Actions config for package-lint.


Note about compiling binary emacs modules

Here's an example of a project which compiles binary modules against an Emacs installed with this method.

Stars
Contributors

Set up Emacs is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK