Skip to content

Commit fce1eaa

Browse files
authored
Merge pull request #3 from jcs-PR/test/eask
test: Build with Eask
2 parents 019494a + 2068dbf commit fce1eaa

File tree

5 files changed

+81
-1
lines changed

5 files changed

+81
-1
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: daily

.github/workflows/test.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
workflow_dispatch:
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
test:
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.1
27+
experimental: [false]
28+
include:
29+
- os: ubuntu-latest
30+
emacs-version: snapshot
31+
experimental: true
32+
- os: macos-latest
33+
emacs-version: snapshot
34+
experimental: true
35+
- os: windows-latest
36+
emacs-version: snapshot
37+
experimental: true
38+
39+
steps:
40+
- uses: actions/checkout@v4
41+
42+
- uses: jcs090218/setup-emacs@master
43+
with:
44+
version: ${{ matrix.emacs-version }}
45+
46+
- uses: emacs-eask/setup-eask@master
47+
with:
48+
version: 'snapshot'
49+
50+
- name: Run tests
51+
run: |
52+
eask package
53+
eask install
54+
eask compile

.gitignore

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

Eask

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
(package "magic-filetype"
2+
"0.2.0"
3+
"Enhance filetype major mode")
4+
5+
(website-url "https://github.com/emacs-php/magic-filetype.el")
6+
(keywords "emulations" "vim" "ft" "file" "magic-mode")
7+
8+
(package-file "magic-filetype.el")
9+
10+
(script "test" "echo \"Error: no test specified\" && exit 1")
11+
12+
(source 'gnu)
13+
(source 'melpa)
14+
15+
(depends-on "emacs" "24")
16+
(depends-on "s" "1.9.0")
17+
18+
(setq network-security-level 'low) ; see https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432

magic-filetype.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
;; Created: 9 Aug 2015
88
;; Version: 0.2.0
99
;; Keywords: emulations vim ft file magic-mode
10-
;; Homepage: https://github.com/zonuexe/magic-filetype.el
10+
;; Homepage: https://github.com/emacs-php/magic-filetype.el
1111
;; Package-Requires: ((emacs "24") (s "1.9.0"))
1212

1313
;; This file is NOT part of GNU Emacs.

0 commit comments

Comments
 (0)