Skip to content

Commit ab9c2e4

Browse files
authored
Merge pull request #153 from emacs-typescript/feature/build-fix
Migrate build to use proper tasks and new source for Emacs
2 parents 2a58631 + 96800ed commit ab9c2e4

File tree

1 file changed

+8
-22
lines changed

1 file changed

+8
-22
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,42 +10,28 @@ on:
1010

1111
jobs:
1212
build:
13-
runs-on: ubuntu-18.04
13+
runs-on: ubuntu-20.04
1414
name: Emacs - ${{ matrix.emacs }}
15-
strategy:
15+
strategy:
1616
matrix:
17-
emacs:
18-
- emacs-26.1-travis-linux-xenial
19-
- emacs-26.2-travis-linux-xenial
20-
- emacs-26.3-travis-linux-xenial
21-
- emacs-27.1-travis-linux-xenial
22-
- emacs-git-snapshot-travis-linux-xenial
17+
emacs: [26.1, 26.2, 26.3, 27.1, snapshot]
2318

2419
steps:
2520
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2621
- uses: actions/checkout@v2
2722

28-
- name: Install EVM
29-
run: |
30-
git clone https://github.com/rejeep/evm.git ~/.evm
31-
export PATH="$HOME/.evm/bin:$PATH"
32-
evm config path /tmp
23+
- uses: purcell/setup-emacs@master
24+
with:
25+
version: ${{ matrix.emacs }}
3326

34-
- name: Install Emacs ${{ matrix.emacs }}
27+
- name: paths
3528
run: |
36-
export PATH="$HOME/.evm/bin:$PATH"
37-
evm install ${{ matrix.emacs }} --use --skip
38-
29+
echo "$HOME/.cask/bin" >> $GITHUB_PATH
3930
- name: Install cask
4031
run: |
41-
export PATH="$HOME/.evm/bin:$PATH"
4232
curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python
43-
export PATH="$HOME/.cask/bin:$PATH"
4433
cask
45-
4634
- name: Run a multi-line script
4735
run: |
48-
export PATH="$HOME/.evm/bin:$PATH"
49-
export PATH="$HOME/.cask/bin:$PATH"
5036
emacs --version
5137
make test

0 commit comments

Comments
 (0)