Skip to content

Commit

Permalink
chore(ci): minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 22, 2023
1 parent 45a4e0a commit 3df04e7
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 50 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
- name: Install dependency needed for some Emacs packages (Ubuntu)
run: |
sudo apt-get update
sudo apt-get install -y libtool-bin cmake tree
sudo apt-get install -y libtool-bin cmake
- name: Show Emacs version
run: |
EMACS_VERSION=$(emacs --version)
echo $EMACS_VERSION
echo "EMACS_VERSION=$(echo $EMACS_VERSION | head -n1 | sed -E 's/GNU Emacs ([^ ]*).*/\1/')" >> "$GITHUB_ENV"
- name: Running Emacs
- name: Running MinEmacs with all modules
run: |
ln -s "$(pwd)" "../.emacs.d"
echo "Enabling all MinEmacs modules"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
EMACS_VERSION=$(emacs --version)
echo $EMACS_VERSION
echo "EMACS_VERSION=$(echo $EMACS_VERSION | head -n1 | sed -E 's/GNU Emacs ([^ ]*).*/\1/')" >> "$GITHUB_ENV"
- name: Running Emacs
- name: Running MinEmacs with all modules
run: |
ln -s "$(pwd)" "../.emacs.d"
echo "Enabling all MinEmacs modules"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Show Emacs version
run: |
emacs --version
- name: Running Emacs
- name: Running MinEmacs with all modules
run: |
$env:HOME = "D:\a\minemacs\"
$env:MINEMACSDIR = "D:\a\minemacs\.github\workflows\scripts\minemacs-all.d\"
Expand Down
64 changes: 18 additions & 46 deletions .github/workflows/scripts/minemacs-all.d/modules.el
Original file line number Diff line number Diff line change
@@ -1,47 +1,19 @@
(setq minemacs-core-modules
'(me-splash
me-keybindings
me-evil
me-core-ui
me-completion))
;; modules.el --- Enable all modules in CI mode -*- lexical-binding: t; -*-

;; Copyright (C) 2023 Abdelhak Bougouffa

;; Author: Abdelhak Bougouffa (concat "abougouffa" "@" "fedora" "project" "." "org")

(setq minemacs-modules
'(me-ui
me-editor
me-daemon
me-undo
me-multi-cursors
me-vc
me-project
me-prog
me-checkers
me-debug
me-lsp
me-emacs-lisp
me-common-lisp
me-scheme
me-clojure
me-embedded
me-robot
me-data
me-math
me-modeling
me-org
me-extra
me-notes
me-email
me-rss
me-lifestyle
me-docs
me-calendar
me-latex
me-biblio
me-natural-langs
me-files
me-tools
me-tty
me-fun
me-media
me-workspaces
me-binary
me-window))
;;; Commentary:

;;; Code:

(setq minemacs-core-modules
'(me-splash me-keybindings me-evil me-core-ui me-completion)
minemacs-modules
'(me-ui me-editor me-daemon me-undo me-multi-cursors me-vc me-project
me-prog me-checkers me-debug me-lsp me-emacs-lisp me-common-lisp
me-scheme me-clojure me-embedded me-robot me-data me-math me-modeling
me-org me-extra me-notes me-email me-rss me-lifestyle me-docs me-calendar
me-latex me-biblio me-natural-langs me-files me-tools me-tty me-fun
me-media me-workspaces me-binary me-window))

0 comments on commit 3df04e7

Please sign in to comment.