dotemacs

My Emacs configuration
git clone git://git.entf.net/dotemacs
Log | Files | Refs | LICENSE

config.yml (2901B)


      1 version: 2.1
      2 
      3 orbs:
      4   win: circleci/windows@2.2.0
      5 
      6 # Default actions to perform on each Emacs version
      7 commands:
      8   setup:
      9     steps:
     10       - checkout
     11       - run:
     12           name: Install Eldev
     13           command: curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/circle-eldev > x.sh && source ./x.sh
     14       - run:
     15           name: Install unzip
     16           command: apt-get update && apt-get install unzip
     17 
     18   macos-setup:
     19     steps:
     20       - checkout
     21       - run:
     22           name: Install Emacs latest
     23           command: |
     24             echo "HOMEBREW_NO_AUTO_UPDATE=1" >> $BASH_ENV
     25             brew install homebrew/cask/emacs
     26       - run:
     27           name: Install Eldev
     28           command: curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/circle-eldev > x.sh && source ./x.sh
     29 
     30   setup-windows:
     31     steps:
     32       - checkout
     33       - run:
     34           name: Install Eldev
     35           command: |
     36             # Remove expired DST Root CA X3 certificate. Workaround
     37             # for https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51038
     38             # bug on Emacs 27.2.
     39             gci cert:\LocalMachine\Root\DAC9024F54D8F6DF94935FB1732638CA6AD77C13
     40             gci cert:\LocalMachine\Root\DAC9024F54D8F6DF94935FB1732638CA6AD77C13 | Remove-Item
     41             (iwr https://raw.github.com/doublep/eldev/master/webinstall/circle-eldev.ps1).Content | powershell -command -
     42   test:
     43     steps:
     44       - run:
     45           name: Run regression tests
     46           command: eldev -dtT -p test
     47   lint:
     48     steps:
     49       - run:
     50           name: Run Elisp-lint
     51           command: eldev lint
     52       - run:
     53           name: Byte-compile `.el' files
     54           command: eldev -dtT compile --warnings-as-errors
     55 
     56 jobs:
     57   test-ubuntu-emacs-26:
     58     docker:
     59       - image: silex/emacs:26-ci
     60         entrypoint: bash
     61     steps:
     62       - setup
     63       - test
     64 
     65   test-ubuntu-emacs-27:
     66     docker:
     67       - image: silex/emacs:27-ci
     68         entrypoint: bash
     69     steps:
     70       - setup
     71       - test
     72 
     73   test-ubuntu-emacs-28:
     74     docker:
     75       - image: silex/emacs:28-ci
     76         entrypoint: bash
     77     steps:
     78       - setup
     79       - test
     80 
     81   test-ubuntu-emacs-master:
     82     docker:
     83       - image: silex/emacs:master-ci
     84         entrypoint: bash
     85     steps:
     86       - setup
     87       - test
     88 
     89   test-macos-emacs-latest:
     90     macos:
     91       xcode: "14.0.0"
     92     steps:
     93       - macos-setup
     94       - test
     95 
     96   test-windows-emacs-latest:
     97     executor: win/default
     98     steps:
     99       - run:
    100           name: Install Emacs latest
    101           command: |
    102             choco install emacs
    103       - setup-windows
    104       - test
    105 
    106   test-lint:
    107     docker:
    108       - image: silex/emacs:28-ci
    109     steps:
    110       - setup
    111       - lint
    112 
    113 workflows:
    114   version: 2
    115   ci-test-matrix:
    116     jobs:
    117       - test-ubuntu-emacs-26
    118       - test-ubuntu-emacs-27
    119       - test-ubuntu-emacs-28
    120       - test-ubuntu-emacs-master
    121       - test-lint
    122       - test-macos-emacs-latest
    123       - test-windows-emacs-latest