|
9 | 9 | workflow_dispatch:
|
10 | 10 |
|
11 | 11 | jobs:
|
12 |
| - build: |
13 |
| - runs-on: ubuntu-20.04 |
14 |
| - name: Emacs - ${{ matrix.emacs }} |
| 12 | + unix-build: |
| 13 | + runs-on: ${{ matrix.os }} |
15 | 14 | strategy:
|
16 | 15 | matrix:
|
17 |
| - emacs: [26.1, 26.2, 26.3, 27.1, snapshot] |
| 16 | + os: [ubuntu-latest, macos-latest] |
| 17 | + emacs: [26.1, 26.2, 26.3, 27.1, 27.2, snapshot] |
18 | 18 |
|
19 | 19 | steps:
|
20 | 20 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
21 | 21 | - uses: actions/checkout@v2
|
22 | 22 |
|
| 23 | + - uses: actions/setup-python@v2 |
| 24 | + with: |
| 25 | + python-version: "3.6" |
| 26 | + architecture: "x64" |
| 27 | + |
23 | 28 | - uses: purcell/setup-emacs@master
|
24 | 29 | with:
|
25 | 30 | version: ${{ matrix.emacs }}
|
26 | 31 |
|
| 32 | + - uses: conao3/setup-cask@master |
| 33 | + with: |
| 34 | + version: 0.8.4 |
| 35 | + |
27 | 36 | - name: paths
|
28 | 37 | run: |
|
29 | 38 | echo "$HOME/.cask/bin" >> $GITHUB_PATH
|
30 |
| - - name: Install cask |
| 39 | + - name: Run a multi-line script |
31 | 40 | run: |
|
32 |
| - curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python |
33 |
| - cask |
| 41 | + emacs --version |
| 42 | + make test |
| 43 | + windows-build: |
| 44 | + runs-on: windows-latest |
| 45 | + strategy: |
| 46 | + matrix: |
| 47 | + emacs: [26.1, 26.2, 26.3, 27.1, 27.2, snapshot] |
| 48 | + |
| 49 | + steps: |
| 50 | + - uses: actions/checkout@v2 |
| 51 | + |
| 52 | + - uses: actions/setup-python@v2 |
| 53 | + with: |
| 54 | + python-version: "3.6" |
| 55 | + architecture: "x64" |
| 56 | + |
| 57 | + - uses: jcs090218/setup-emacs-windows@master |
| 58 | + with: |
| 59 | + version: ${{ matrix.emacs }} |
| 60 | + |
| 61 | + - uses: conao3/setup-cask@master |
| 62 | + with: |
| 63 | + version: 0.8.4 |
| 64 | + |
34 | 65 | - name: Run a multi-line script
|
35 | 66 | run: |
|
36 | 67 | emacs --version
|
|
0 commit comments