Emacs Eask
GitHub Discord Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage
Edit page

πŸ’Ώ GitHub Actions

Windows macOS Linux

Here is an example using the GitHub Actions service.

jobs:
  test:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
        emacs-version: [26.3, 27.2, 28.2, 29.1, snapshot]

    steps:
    - uses: actions/checkout@v3

    # Install Emacs
    - uses: jcs090218/setup-emacs@master
      with:
        version: ${{ matrix.emacs-version }}

    # Install Eask
    - uses: emacs-eask/setup-eask@master
      with:
        version: 'snapshot'

    - name: Run tests
      run: |
        eask package
        eask install
        eask compile        

This example is testing your Emacs Lisp package in the below environment;

OSEmacsEask
Linux (Ubuntu)26.x, 27.x, 28.x, 29.x, snapshotlatest
macOS26.x, 27.x, 28.x, 29.x, snapshotlatest
Windows26.x, 27.x, 28.x, 29.x, snapshotlatest

with these following actions,

πŸ’‘ You can generate workflow file via eask generate workflow github, see Commands and options for more information!

πŸ’Ύ Setup Eask locally

You can install Eask locally using scripts from .github/scripts/setup-eask (Unix) or .github/scripts/setup-eask.ps1 (Windows).

    - uses: actions/checkout@v3

    - name: Prepare Eask (Unix)
      if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
      run: |
        chmod -R 777 ./
        .github/scripts/setup-eask        

    - name: Prepare Eask (Windows)
      if: matrix.os == 'windows-latest'
      run: .github/scripts/setup-eask.ps1