Skip to content

Commit

Permalink
chore(ci): run MinEmacs in CI mode, with all modules
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 21, 2023
1 parent 60145fd commit 40109b3
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
push:
pull_request:
workflow_dispatch:
# run every month just in case (packages may have been updated and cause errors on various variables etc.)
# Run weekly
schedule:
- cron: '0 10 1 * *'
- cron: "0 0 * * 0"

jobs:
build-linux:
Expand All @@ -33,6 +33,9 @@ jobs:
- name: Running Emacs
run: |
ln -s "$(pwd)" "../.emacs.d"
mkdir ../.minemacs.d/
cp .github/workflows/test-confs/modules-all.el ../.minemacs.d/modules.el
export MINEMACS_CI=1
RUN_DATA=$(HOME=$GITHUB_WORKSPACE/.. emacs --no-window-system --batch --script init.el 2>&1)
echo "$RUN_DATA"
WARNINGS=$(echo "$RUN_DATA" | sed '{/Warning/N;s/\n//;}' | grep Warning | sed -E 's/^(.*\.el)/- \*\*\1\*\*/')
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/test-confs/modules-all.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
(setq minemacs-core-modules
'(me-splash
me-keybindings
me-evil
me-core-ui
me-completion))

(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-eaf
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 40109b3

Please sign in to comment.