Build emacs

This commit is contained in:
Sebastian Schulze 2024-11-21 09:00:30 +01:00
parent 0d48e821a4
commit 098d872ca6
Signed by: bascht
GPG key ID: 5BCB1D3B4D38A35A
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,16 @@
---
on: [push]
jobs:
emacs:
name: Build my emacs config
runs-on: docker
container:
image: archlinux/archlinux:base-devel-20241120.0.281320
steps:
- run: |
pacman -Sy
pacman -Syu --noconfirm git emacs-wayland libvterm cmake nodejs
- uses: actions/checkout@v3
- run: |
cd dot_config/emacs
emacs --script build.el

13
dot_config/emacs/build.el Normal file
View file

@ -0,0 +1,13 @@
;;; build --- test
;;; Commentary:
;; Build my current Emacs config in CI
;;; Code:
(require 'org)
(org-babel-tangle-file "README.org")
(find-file "init.el")
(eval-buffer)
(require 'flycheck)
(flycheck-buffer)
(provide 'build)
;;; build.el ends here