branch: elpa/apache-mode
commit b4593304bcd7bf49a7991db86cc7090b0c3a0233
Merge: f2c11aac2f 593ef5d24f
Author: USAMI Kenta <tad...@pixiv.com>
Commit: GitHub <nore...@github.com>

    Merge pull request #7 from jcs-PR/test/eask
    
    test: Build with Eask
---
 .github/dependabot.yml     |  6 ++++++
 .github/workflows/test.yml | 54 ++++++++++++++++++++++++++++++++++++++++++++++
 .gitignore                 | 20 +++++++++++++++++
 Eask                       | 16 ++++++++++++++
 4 files changed, 96 insertions(+)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000000..253bcb76ba
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,6 @@
+version: 2
+updates:
+  - package-ecosystem: github-actions
+    directory: /
+    schedule:
+      interval: daily
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000000..fff42f0643
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -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
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000..be9dc412aa
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,20 @@
+# ignore these directories
+/.git
+/recipes
+
+# ignore log files
+/.log
+
+# ignore generated files
+*.elc
+
+# eask packages
+.eask/
+dist/
+
+# packaging
+*-autoloads.el
+*-pkg.el
+
+# personal test
+/_test
diff --git a/Eask b/Eask
new file mode 100644
index 0000000000..325a43a205
--- /dev/null
+++ b/Eask
@@ -0,0 +1,16 @@
+(package "apache-mode"
+         "2.2.0"
+         "Major mode for editing Apache httpd configuration files")
+
+(website-url "https://github.com/emacs-php/apache-mode";)
+(keywords "languages" "faces")
+
+(package-file "apache-mode.el")
+
+(script "test" "echo \"Error: no test specified\" && exit 1")
+
+(source 'gnu)
+
+(depends-on "emacs" "26.1")
+
+(setq network-security-level 'low)  ; see 
https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432

Reply via email to