File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,10 +45,13 @@ jobs:
4545 - uses : purcell/setup-emacs@master
4646 with :
4747 version : ${{ matrix.emacs_version }}
48+ - name : Install compat
49+ run : emacs --batch -f package-initialize -f package-refresh-contents --eval "(package-install 'compat)"
4850
4951 - uses : actions/checkout@v6
5052 - name : Byte compilation
51- run : emacs --eval "(setq byte-compile-error-on-warn t)" -L . --batch -f batch-byte-compile ./*.el
53+ # package-activate-all is not available until Emacs 27
54+ run : emacs --eval "(setq byte-compile-error-on-warn t)" -L . --batch -f package-initialize -f batch-byte-compile ./*.el
5255 - name : Tests
5356 run : nix shell ${{ matrix.ledger_version || 'nixpkgs#ledger' }} --print-build-logs -c make -C test
5457 # This is currently for information only, since a lot of docstrings need fixing up
Original file line number Diff line number Diff line change 11EMACS ?= emacs
2- EMACS_FLAGS = --quick --directory . --directory ..
2+ # package-activate-all is not available until Emacs 27
3+ EMACS_FLAGS = --quick --directory . --directory .. -f package-initialize
34EMACS_BATCH = "$(EMACS ) " --batch $(EMACS_FLAGS )
45EMACS_INTERACTIVE = "$(EMACS ) " $(EMACS_FLAGS )
56
You can’t perform that action at this time.
0 commit comments