[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/haskell-tng-mode 2d50a06 358/385: enable CI
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/haskell-tng-mode 2d50a06 358/385: enable CI |
Date: |
Wed, 6 Oct 2021 00:00:04 -0400 (EDT) |
branch: elpa/haskell-tng-mode
commit 2d50a0613c4dac8360421469384358110760a8a7
Author: Tseen She <ts33n.sh3@gmail.com>
Commit: Tseen She <ts33n.sh3@gmail.com>
enable CI
---
.gitlab-ci.yml | 14 ++++++++++++++
.python-version | 2 +-
Cask | 2 --
Dockerfile | 12 ++++++++++++
haskell-tng-hsinspect.el | 1 +
5 files changed, 28 insertions(+), 3 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..00b12ba
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,14 @@
+image: registry.gitlab.com/tseenshe/haskell-tng.el:26.3
+
+cache:
+ paths:
+ - .cask
+
+build_job:
+ stage: build
+ script:
+ - cask pkg-file
+ - cask update
+ - cask install
+ - cask build
+ - cask exec ert-runner
diff --git a/.python-version b/.python-version
index 0833a98..a08ffae 100644
--- a/.python-version
+++ b/.python-version
@@ -1 +1 @@
-3.7.4
+3.8.2
diff --git a/Cask b/Cask
index 2bcba39..1e0db99 100644
--- a/Cask
+++ b/Cask
@@ -19,8 +19,6 @@
;;
;;; Code:
-;; FIXME set up CI on gitlab
-
(source melpa-stable)
(source melpa) ;; for faceup
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..bcfe3ec
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,12 @@
+FROM archlinux/base:latest
+
+# docker build . -t registry.gitlab.com/tseenshe/haskell-tng.el:26.3
+# docker login --username=tseenshe registry.gitlab.com
+# docker push registry.gitlab.com/tseenshe/haskell-tng.el:26.3
+
+RUN pacman -Sy &&\
+ yes | pacman -Su emacs-nox git python &&\
+ yes | pacman -Scc
+
+ENV PATH "/root/.cask/bin:$PATH"
+RUN curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python
diff --git a/haskell-tng-hsinspect.el b/haskell-tng-hsinspect.el
index 2c86a11..f8b76f1 100644
--- a/haskell-tng-hsinspect.el
+++ b/haskell-tng-hsinspect.el
@@ -346,6 +346,7 @@ ability to follow any further."
(selected (haskell-tng--hsinspect-popup-menu entries)))
(seq-find (lambda (el) (equal (alist-get 'module el) selected)) hits))))
+;; FIXME use advice or something like that instead of this testing hack
(defvar-local haskell-tng--hsinspect-popup-menu nil)
(defun haskell-tng--hsinspect-popup-menu (entries)
(or
- [nongnu] elpa/haskell-tng-mode 2653ce7 312/385: checks on the hsinspect binary, (continued)
- [nongnu] elpa/haskell-tng-mode 2653ce7 312/385: checks on the hsinspect binary, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode da20f0d 314/385: note about limitations on nixos, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 52d984a 324/385: fix cache typo, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode ae8ebbc 320/385: thots, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode aca98c2 333/385: simplify import-symbol-at-point logic, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 1e3c465 329/385: import types and data constructors, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 3ab7495 342/385: thots, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode ef3cea6 340/385: thots, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode a14a2c2 332/385: allow dir locals for the -as lookups, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 2050c16 323/385: bad parameter order, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 2d50a06 358/385: enable CI,
ELPA Syncer <=
- [nongnu] elpa/haskell-tng-mode 923fa9e 344/385: bugfixes in jump-to-definition, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 3939303 334/385: importing from the hsinspect index will update the buffer cache, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 3ea52c1 341/385: special case jumping to inplace packages, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 4217d98 378/385: fixup! third party tools use project specific PATH, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode f7f0e0f 383/385: moar extras, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 2017d07 384/385: widen hsinspect range, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 083e80a 110/385: assert on alternative indentation order, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode ec1ac46 361/385: document a bug, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 4b598b2 377/385: third party tools use project specific PATH, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode aaf7c55 370/385: support for hsinspect-lsp, ELPA Syncer, 2021/10/06