emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/async 9783eb44e4 4/6: ci: add github build


From: ELPA Syncer
Subject: [elpa] externals/async 9783eb44e4 4/6: ci: add github build
Date: Mon, 13 Mar 2023 11:57:21 -0400 (EDT)

branch: externals/async
commit 9783eb44e4b78fbe27346564689bfd19b6778373
Author: Matus Goljer <matus.goljer@gmail.com>
Commit: Matus Goljer <matus.goljer@gmail.com>

    ci: add github build
---
 .github/workflows/test.yml | 62 ++++++++++++++++++++++++++++++++++++++++++++++
 .gitignore                 |  1 +
 Eask                       | 20 +++++++++++++++
 3 files changed, 83 insertions(+)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000000..823502a960
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,62 @@
+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 }}
+    strategy:
+      fail-fast: false
+      matrix:
+        os: [ubuntu-latest, macos-latest, windows-latest]
+        emacs-version:
+          - '26.1'
+          - '26.2'
+          - '26.3'
+          - '27.1'
+          - '27.2'
+          - '28.1'
+          - '28.2'
+          - snapshot
+
+    steps:
+    - uses: actions/checkout@v3
+
+    - uses: jcs090218/setup-emacs@master
+      with:
+        version: ${{ matrix.emacs-version }}
+
+    - uses: emacs-eask/setup-eask@master
+      with:
+        version: 'snapshot'
+
+    - name: Workaround for Emacs 27.2's Windows build from GNU FTP
+      if: ${{ runner.os == 'Windows' && contains(fromJson('["26.1", "26.2", 
"26.3", "27.1", "27.2"]'), matrix.emacs-version) }}
+      run: |
+        gci cert:\LocalMachine\Root\DAC9024F54D8F6DF94935FB1732638CA6AD77C13
+        gci cert:\LocalMachine\Root\DAC9024F54D8F6DF94935FB1732638CA6AD77C13 | 
Remove-Item
+
+    - name: Install dependencies
+      run: |
+        eask install-deps --dev
+
+    - name: Run buttercup
+      timeout-minutes: 1
+      run: |
+        eask test buttercup
+
+    - name: Run tests
+      run: |
+        eask clean all
+        eask package
+        eask install
+        eask compile
diff --git a/.gitignore b/.gitignore
index bb6d27f575..cc2266d847 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 *.elc
 *~
 async-autoloads.el
+/.eask
diff --git a/Eask b/Eask
new file mode 100644
index 0000000000..e6c61085b4
--- /dev/null
+++ b/Eask
@@ -0,0 +1,20 @@
+(package "async"
+         "1.9.7"
+         "Asynchronous processing in Emacs")
+
+(website-url "https://github.com/jwiegley/emacs-async";)
+(keywords "async")
+
+(package-file "async.el")
+
+(files "async.el" "async-bytecomp.el" "*-async.el")
+
+(script "test" "echo \"Error: no test specified\" && exit 1")
+
+(source "gnu")
+(source "nongnu")
+
+(depends-on "emacs" "24.4")
+
+(development
+ (depends-on "buttercup"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]