-
-
Notifications
You must be signed in to change notification settings - Fork 34
42 lines (35 loc) · 1.04 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: ci
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
package: [evil, magit, realgud, edts, elpher, which-key-posframe]
steps:
- name: checkout package-build
uses: actions/checkout@v2
with:
path: package-build
fetch-depth: 1
- name: checkout melpa
uses: actions/checkout@v2
with:
path: melpa
repository: melpa/melpa
fetch-depth: 1
- name: Install dependencies
run: |
sudo apt-get install emacs
sudo apt-get install git mercurial texinfo
# Work around SSL-related failures, see
# https://stackoverflow.com/questions/21477683/mercurial-https-clone-abort-error-wrong-version-number
echo "[ui]\ntls = False" > $HOME/.hgrc
- name: Setup config path
run: |
echo "LOAD_PATH = $GITHUB_WORKSPACE/package-build" > melpa/config.mk
- name: Build ${{ matrix.package }}
run: |
cd melpa
make recipes/${{ matrix.package }}