Skip to content

Commit

Permalink
chore(ci): make use of the new MINEMACS_LOAD_ALL_MODULES envvar
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jan 31, 2024
1 parent 4cbdf1e commit 2e24998
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
ln -s "$(pwd)" "../.emacs.d"
echo "Enabling all MinEmacs modules"
echo "Running Emacs with MinEmacs configuration"
MINEMACSDIR=.github/workflows/scripts/minemacs-all.d/
MINEMACS_LOAD_ALL_MODULES=1
make ci | tee /tmp/minemacs-output
EMACS_EXIT_CODE=$?
if [[ "$EMACS_EXIT_CODE" == 0 ]]; then
Expand All @@ -73,7 +73,7 @@ jobs:
- name: Running MinEmacs in always demand mode
run: |
echo "Loading Emacs with MINEMACS_ALWAYS_DEMAND"
MINEMACSDIR=.github/workflows/scripts/minemacs-all.d/
MINEMACS_LOAD_ALL_MODULES=1
MINEMACS_ALWAYS_DEMAND=1
make ci | tee /tmp/minemacs-output
EMACS_EXIT_CODE=$?
Expand All @@ -99,7 +99,7 @@ jobs:
- name: Running MinEmacs in daemon mode
run: |
echo "Loading Emacs in daemon mode"
MINEMACSDIR=.github/workflows/scripts/minemacs-all.d/
MINEMACS_LOAD_ALL_MODULES=1
make ci-daemon | tee /tmp/minemacs-output
EMACS_EXIT_CODE=$?
if [[ "$EMACS_EXIT_CODE" == 0 ]]; then
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
ln -s "$(pwd)" "../.emacs.d"
echo "Enabling all MinEmacs modules"
echo "Running Emacs with MinEmacs configuration"
MINEMACSDIR=.github/workflows/scripts/minemacs-all.d/
MINEMACS_LOAD_ALL_MODULES=1
make ci | tee /tmp/minemacs-output
EMACS_EXIT_CODE=$?
if [[ "$EMACS_EXIT_CODE" == 0 ]]; then
Expand All @@ -68,7 +68,7 @@ jobs:
- name: Running MinEmacs in always demand mode
run: |
echo "Loading Emacs with MINEMACS_ALWAYS_DEMAND"
MINEMACSDIR=.github/workflows/scripts/minemacs-all.d/
MINEMACS_LOAD_ALL_MODULES=1
MINEMACS_ALWAYS_DEMAND=1
make ci | tee /tmp/minemacs-output
EMACS_EXIT_CODE=$?
Expand All @@ -94,7 +94,7 @@ jobs:
- name: Running MinEmacs in daemon mode
run: |
echo "Loading Emacs in daemon mode"
MINEMACSDIR=.github/workflows/scripts/minemacs-all.d/
MINEMACS_LOAD_ALL_MODULES=1
make ci-daemon | tee /tmp/minemacs-output
EMACS_EXIT_CODE=$?
if [[ "$EMACS_EXIT_CODE" == 0 ]]; then
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Running MinEmacs with all modules
run: |
$env:HOME = "D:\a\minemacs\"
$env:MINEMACSDIR = "D:\a\minemacs\.github\workflows\scripts\minemacs-all.d\"
$env:MINEMACS_LOAD_ALL_MODULES = "1"
emacs --no-window-system --batch --script .github\workflows\scripts\ci-init.el
- name: Running MinEmacs in always demand mode
run: |
Expand All @@ -38,6 +38,6 @@ jobs:
- name: Running MinEmacs in daemon mode
run: |
echo "Loading Emacs in daemon mode"
$env:MINEMACSDIR = "D:\a\minemacs\.github\workflows\scripts\minemacs-all.d\"
$env:MINEMACS_LOAD_ALL_MODULES = "1"
emacs --daemon --script .github\workflows\scripts\ci-init.el
echo "Finished"

0 comments on commit 2e24998

Please sign in to comment.