From b8b1fc66370af13fbe3a75c8f3f846600b5d3f10 Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Sun, 29 May 2022 12:25:25 +0300 Subject: [PATCH] chore: add CI --- .github/workflows/melpazoid.yml | 30 ++++++++++++++++++++++++++++++ elfeed-sync.el | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/melpazoid.yml diff --git a/.github/workflows/melpazoid.yml b/.github/workflows/melpazoid.yml new file mode 100644 index 0000000..2041ef4 --- /dev/null +++ b/.github/workflows/melpazoid.yml @@ -0,0 +1,30 @@ +# melpazoid build checks. + +# If your package is on GitHub, enable melpazoid's checks by copying this file +# to .github/workflows/melpazoid.yml and modifying RECIPE and EXIST_OK below. + +name: melpazoid +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.6 + uses: actions/setup-python@v1 + with: { python-version: 3.6 } + - name: Install + run: | + python -m pip install --upgrade pip + sudo apt-get install emacs && emacs --version + git clone https://github.com/riscy/melpazoid.git ~/melpazoid + pip install ~/melpazoid + - name: Run + env: + LOCAL_REPO: ${{ github.workspace }} + # RECIPE is your recipe as written for MELPA: + RECIPE: (elfeed-sync :repo "SqrtMinusOne/elfeed-sync" :fetcher github) + # set this to false (or remove it) if the package isn't on MELPA: + EXIST_OK: false + run: echo $GITHUB_REF && make -C ~/melpazoid diff --git a/elfeed-sync.el b/elfeed-sync.el index 1618272..40b6310 100644 --- a/elfeed-sync.el +++ b/elfeed-sync.el @@ -6,7 +6,7 @@ ;; Maintainer: Korytov Pavel ;; Version: 0.1.0 ;; Package-Requires: ((emacs "27.1") (elfeed "3.4.1") (request "0.3.2")) -;; Homepage: https://github.com/SqrtMinusOne/avy-dired.el +;; Homepage: https://github.com/SqrtMinusOne/elfeed-sync ;; This file is NOT part of GNU Emacs.