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

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

[nongnu] elpa/treesit-fold be87b44bc0 174/417: Update CI


From: ELPA Syncer
Subject: [nongnu] elpa/treesit-fold be87b44bc0 174/417: Update CI
Date: Mon, 1 Jul 2024 10:02:23 -0400 (EDT)

branch: elpa/treesit-fold
commit be87b44bc01d305612735ac9b713080b87c91e0c
Author: Jen-Chieh Shen <jcs090218@gmail.com>
Commit: Jen-Chieh Shen <jcs090218@gmail.com>

    Update CI
---
 .github/workflows/test.yml | 32 ++++++++++++++++++++++++++------
 Makefile                   |  8 ++++----
 2 files changed, 30 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index e75bce8b62..f0e5595b14 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -31,14 +31,34 @@ jobs:
               with:
                   version: 'snapshot'
 
-            - name: Setup cmake
-              uses: jwlawson/actions-setup-cmake@v1.4
+            - name: Run tests
+              run:
+                make unix-ci
+
+    windows-test:
+        runs-on: windows-latest
+        strategy:
+            matrix:
+                emacs-version:
+                    - 27.2
+                    - snapshot
+
+        steps:
+            - uses: actions/checkout@v2
+
+            - uses: actions/setup-python@v2
               with:
-                 cmake-version: '3.18.x'
+                  python-version: "3.6"
+                  architecture: "x64"
 
-            - name: Check cmake
-              run: "cmake --version"
+            - uses: jcs090218/setup-emacs-windows@master
+              with:
+                  version: ${{ matrix.emacs-version }}
+
+            - uses: cask/setup-cask@master
+              with:
+                  version: 'snapshot'
 
             - name: Run tests
               run:
-                make unix-ci
+                make windows-ci
diff --git a/Makefile b/Makefile
index 2c776552b5..fb8d106685 100644
--- a/Makefile
+++ b/Makefile
@@ -7,14 +7,14 @@ PKG-FILES := ts-fold.el
 
 TEST-FILES := $(shell ls test/ts-fold-*.el)
 
-.PHONY: clean checkdoc lint unix-build unix-compile    unix-test
+.PHONY: clean checkdoc lint build compile unix-test
 
-unix-ci: clean unix-build unix-compile
+ci: clean build compile
 
-unix-build:
+build:
        $(CASK) install
 
-unix-compile:
+compile:
        @echo "Compiling..."
        @$(CASK) $(EMACS) -Q --batch \
                -L . \



reply via email to

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