fix: build workflow #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Melpazoid | |
on: [push, pull_request] | |
jobs: | |
melpazoid: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
emacs_version: ['28.1', '28.2', '29.1'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Emacs | |
uses: jcs090218/setup-emacs@master | |
with: | |
version: ${{matrix.emacs_version}} | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install Melpazoid | |
run: | | |
python -m pip install --upgrade pip | |
git clone https://github.com/riscy/melpazoid.git ~/melpazoid | |
pip install ~/melpazoid | |
- name: Check Package | |
env: | |
LOCAL_REPO: ${{ github.workspace }} | |
RECIPE: (sdml-mode :fetcher github :repo "sdm-lang/emacs-sdml-mode" :files ("sdml-mode.el")) | |
# set this to false (or remove it) if the package isn't on MELPA: | |
EXIST_OK: false | |
run: | | |
echo $GITHUB_REF | |
make -C ~/melpazoid |