Skip to content

Commit

Permalink
Merge pull request #2 from jcs-PR/test/eask
Browse files Browse the repository at this point in the history
test: Build with Eask
  • Loading branch information
jcs090218 authored Sep 16, 2023
2 parents 8d348ac + d9b4987 commit fa6bf59
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
54 changes: 54 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: CI

on:
push:
branches:
- master
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
emacs-version:
- 26.3
- 27.2
- 28.2
- 29.1
experimental: [false]
include:
- os: ubuntu-latest
emacs-version: snapshot
experimental: true
- os: macos-latest
emacs-version: snapshot
experimental: true
- os: windows-latest
emacs-version: snapshot
experimental: true

steps:
- uses: actions/checkout@v4

- uses: jcs090218/setup-emacs@master
with:
version: ${{ matrix.emacs-version }}

- uses: emacs-eask/setup-eask@master
with:
version: 'snapshot'

- name: Run tests
run: |
eask package
eask install
eask compile
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
*.elc
/.cask/
/.eask/
/dist
18 changes: 18 additions & 0 deletions Eask
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
(package "projectile-variable"
"0.0.2"
"Store project local variables.")

(website-url "https://github.com/emacs-php/projectile-variable")
(keywords "project" "convenience")

(package-file "projectile-variable.el")

(script "test" "echo \"Error: no test specified\" && exit 1")

(source 'gnu)
(source 'melpa)

(depends-on "emacs" "24")
(depends-on "cl-lib" "0.5")

(setq network-security-level 'low) ; see https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432
2 changes: 1 addition & 1 deletion projectile-variable.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
;; Created: 11 Sep 2016
;; Version: 0.0.2
;; Keywords: project, convenience
;; Homepage: https://github.com/zonuexe/projectile-variable
;; Homepage: https://github.com/emacs-php/projectile-variable
;; Package-Requires: ((emacs "24") (cl-lib "0.5"))

;; This file is NOT part of GNU Emacs.
Expand Down

0 comments on commit fa6bf59

Please sign in to comment.