dotemacs

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

build.yml (1543B)


      1 name: Build & Test
      2 
      3 on:
      4   push:
      5     branches: [ master ]
      6   pull_request:
      7     branches: [ master ]
      8   # Allows you to run this workflow manually from the Actions tab
      9   workflow_dispatch:
     10 
     11 jobs:
     12   unix-build:
     13     runs-on: ${{ matrix.os }}
     14     strategy:
     15       matrix:
     16         os: [ubuntu-18.04, ubuntu-latest]
     17         emacs: [26.1, 26.2, 26.3, 27.1, 27.2, snapshot]
     18 
     19     steps:
     20       # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
     21       - uses: actions/checkout@v2
     22 
     23       - uses: actions/setup-python@v2
     24         with:
     25           python-version: "3.6"
     26           architecture: "x64"
     27 
     28       - uses: purcell/setup-emacs@master
     29         with:
     30           version: ${{ matrix.emacs }}
     31 
     32       - uses: conao3/setup-cask@master
     33         with:
     34           version: 0.8.4
     35 
     36       - name: paths
     37         run: |
     38           echo "$HOME/.cask/bin" >> $GITHUB_PATH
     39 
     40       - name: Run a multi-line script
     41         run: |
     42           emacs --version
     43           make test
     44 
     45   windows-build:
     46     runs-on: windows-latest
     47     strategy:
     48       matrix:
     49         emacs: [26.1, 26.2, 26.3, 27.1, 27.2, snapshot]
     50 
     51     steps:
     52       - uses: actions/checkout@v2
     53 
     54       - uses: actions/setup-python@v2
     55         with:
     56           python-version: "3.6"
     57           architecture: "x64"
     58 
     59       - uses: jcs090218/setup-emacs-windows@master
     60         with:
     61           version: ${{ matrix.emacs }}
     62 
     63       - uses: conao3/setup-cask@master
     64         with:
     65           version: 0.8.4
     66 
     67       - name: Run a multi-line script
     68         run: |
     69           emacs --version
     70           make test