Skip to content

Commit 5b5a207

Browse files
committed
ci: Setup CI build with Eask
1 parent 728968e commit 5b5a207

File tree

4 files changed

+529
-443
lines changed

4 files changed

+529
-443
lines changed

.github/workflows/test.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
paths-ignore:
7+
- CHANGELOG
8+
- CONTRIBUTORS
9+
- LICENSE
10+
- MAINTAINERS
11+
- README.org
12+
- org-journal.svg
13+
14+
jobs:
15+
build:
16+
runs-on: ${{ matrix.os }}
17+
continue-on-error: ${{ matrix.experimental }}
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
os: [ubuntu-latest, macos-latest, windows-latest]
22+
emacs-version:
23+
- 26.3
24+
- 27.2
25+
- 28.2
26+
- 29.4
27+
- 30.1
28+
experimental: [false]
29+
include:
30+
- os: ubuntu-latest
31+
emacs-version: snapshot
32+
experimental: true
33+
- os: macos-latest
34+
emacs-version: snapshot
35+
experimental: true
36+
- os: windows-latest
37+
emacs-version: snapshot
38+
experimental: true
39+
exclude:
40+
- os: macos-latest
41+
emacs-version: 26.3
42+
- os: macos-latest
43+
emacs-version: 27.2
44+
45+
steps:
46+
- uses: jcs090218/setup-emacs@master
47+
with:
48+
version: ${{ matrix.emacs-version }}
49+
50+
- uses: emacs-eask/setup-eask@master
51+
with:
52+
version: 'snapshot'
53+
54+
- uses: actions/checkout@v4
55+
56+
- name: Run tests
57+
run: |
58+
eask package
59+
eask install
60+
eask compile

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.elc
2+
/*-autoloads.el
3+
4+
/.eask
5+
/dist

Eask

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
;; -*- mode: eask; lexical-binding: t -*-
2+
3+
(package "org-static-blog"
4+
"1.7.0"
5+
"a simple org-mode based static blog generator")
6+
7+
(website-url "https://github.com/bastibe/org-static-blog")
8+
(keywords "outlines")
9+
10+
(package-file "org-static-blog.el")
11+
12+
(script "test" "echo \"Error: no test specified\" && exit 1")
13+
14+
(source 'gnu)
15+
16+
(depends-on "emacs" "26.1")
17+
18+
(add-hook 'eask-before-compile-hook
19+
(lambda ()
20+
(setq byte-compile-error-on-warn t)
21+
(setq byte-compile-docstring-max-column 1000)))

0 commit comments

Comments
 (0)