diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index e4dadb2..f51701c 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -1,10 +1,10 @@ name: Makefile CI on: - push: - branches: [ "main" ] + # push: + # branches: [ "main", "make-actions" ] pull_request: - branches: [ "main" ] + branches: [ "main", "make-actions" ] jobs: build: @@ -14,14 +14,14 @@ jobs: steps: - uses: actions/checkout@v3 - - name: configure - run: ./configure - - - name: Install dependencies - run: make - - - name: Run check - run: make check + - name: install deps + run: sudo apt-get install -y stow emacs aspell + + - name: stow + run: make stow + + - name: tree + run: ls -lRa /home/runner/work/dotfiles - - name: Run distcheck - run: make distcheck + - name: emacs + run: HOME=/home/runner/work/dotfiles emacs --batch --load /home/runner/work/dotfiles/.emacs --eval '(kill-emacs)' diff --git a/emacs/.emacs-custom.el b/emacs/.emacs-custom.el new file mode 100644 index 0000000..2b26b76 --- /dev/null +++ b/emacs/.emacs-custom.el @@ -0,0 +1,67 @@ +(custom-set-variables + ;; custom-set-variables was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(ansi-color-faces-vector + [default default default italic underline success warning error]) + '(ansi-color-names-vector + ["black" "#d55e00" "#009e73" "#f8ec59" "#0072b2" "#cc79a7" "#56b4e9" "white"]) + '(custom-enabled-themes '(wombat)) + '(display-battery-mode t) + '(display-time-mode t) + '(enable-recursive-minibuffers t) + '(indent-tabs-mode nil) + '(ispell-dictionary nil) + '(magit-diff-refine-hunk 'all) + '(menu-bar-mode nil) + '(ns-command-modifier 'meta) + '(org-adapt-indentation nil) + '(org-agenda-span 'day) + '(org-archive-location ".archive.org::datetree/* From %s") + '(org-cycle-global-at-bob t) + '(org-drill-save-buffers-after-drill-sessions-p nil) + '(org-drill-scope '("~/Dropbox/org/drill.org")) + '(org-image-actual-width '(640)) + '(org-refile-targets '((org-agenda-files :maxlevel . 2))) + '(org-stuck-projects + '("+project-someday/-DONE" + ("WAITING" "TODO" "NEXT" "DELEGATED" "CANCELLED") + ("ignore" "someday") + "")) + '(package-selected-packages + '(yaml projectilex org-roam dashboard vertico rcirc-styles rubocopfmt consult-spotify consult orderless rust-mode git-link yasnippet markdown-mode deft org-brain origami xterm-color graphql-mode org-drill web-mode nix-mode yaml-mode projectile magit use-package)) + '(pcomplete-ignore-case t) + '(rcirc-server-alist + '(("irc.libera.chat" :nick "rcy" :port 6697 :user-name "rcy" :channels + ("#emb #rcirc #tasteslikeme #djfullmoon") + :encryption tls))) + '(scroll-bar-mode nil) + '(show-paren-mode t) + '(tool-bar-mode nil) + '(visible-bell t) + '(web-mode-code-indent-offset 2) + '(web-mode-enable-auto-quoting nil) + '(web-mode-enable-comment-interpolation t) + '(web-mode-enable-engine-detection t) + '(web-mode-markup-indent-offset 2) + '(webjump-sites + '((#("JIRA (Pn)" 0 9 + (face nil)) + . + [simple-query "https://precisionnutrition.atlassian.net/jira/your-work" "https://precisionnutrition.atlassian.net/browse/" ""]) + ("DuckDuckGo" . + [simple-query "duckduckgo.com" "duckduckgo.com/?q=" ""]) + ("Google" . + [simple-query "www.google.com" "www.google.com/search?q=" ""]) + ("Wikipedia" . + [simple-query "wikipedia.org" "wikipedia.org/wiki/" ""]))) + '(yas-global-mode t)) +(custom-set-faces + ;; custom-set-faces was added by Custom. + ;; If you edit it by hand, you could mess it up, so be careful. + ;; Your init file should contain only one such instance. + ;; If there is more than one, they won't work right. + '(cursor ((t (:background "yellow")))) + '(highlight ((t (:background "dark green" :foreground "white" :underline nil)))) + '(region ((t (:extend t :background "#000077" :foreground "white")))))