Skip to content

Setup Eldev

Actions
Install Eldev for use in your workflow
1.0
Latest
Star (1)

Description

setup-eldev-emacs prepares Eldev for your workflow.

  • Fetch Eldev from MELPA stable
  • Add Eldev bin folder to your workflow $PATH

Usage

Eldev depends on Emacs. You should setup Emacs, respectively, before using setup-eldev-emacs.

This mechanism has a merit to be able to use specified version of Emacs.

Basic usage

jobs:
  test:
    runs-on: ${{matrix.os}}
    continue-on-error: ${{matrix.emacs_version == 'snapshot'}}

    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest]
        emacs_version: ['26.1', '26.2', '26.3', '27.1', '27.2']

    steps:
    - name: Set up Emacs
      if: "!startsWith (matrix.os, 'windows')"
      uses: purcell/setup-emacs@master
      with:
        version: ${{matrix.emacs_version}}

    - name: Set up Emacs on Windows
      if: startsWith (matrix.os, 'windows')
      run: |
        Set-ExecutionPolicy RemoteSigned -scope CurrentUser
        Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
        scoop update
        scoop bucket add extras
        scoop install emacs@${{ matrix.emacs_version }}
        echo "$env:PATH" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8

    - name: Setup Eldev
      uses: juergenhoetzel/setup-eldev-emacs@master

    - name: Output Eldev version
      run: |
        eldev --version

Setup Eldev 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

Install Eldev for use in your workflow
1.0
Latest

Setup Eldev 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.