-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (54 loc) · 1.54 KB
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: CI Tests
on:
workflow_dispatch:
pull_request:
paths-ignore:
- '**.md'
- '.gitignore'
push:
paths-ignore:
- '**.md'
- '.gitignore'
jobs:
ci-tests:
runs-on: ${{ matrix.os }}
env:
ci_tests: true
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
emacs_version:
- 29.4
- snapshot
steps:
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
- uses: actions/checkout@v4
with:
# repository: 'emacs-exordium/exordium'
repository: 'pkryger/exordium'
path: '.emacs.d'
ref: master
- uses: actions/checkout@v4
with:
path: '.emacs.d/taps/commontap'
- uses: actions/checkout@v4
with:
repository: 'pkryger/difftastic.el'
path: 'gh/pkryger/difftastic.el'
- uses: actions/checkout@v4
with:
repository: 'pkryger/basic-stats'
path: 'gh/pkryger/basic-stats'
- name: Link $GITHUB_WORKSPACE/.emacs.d to $HOME/.emacs.d
run: ln -s "${GITHUB_WORKSPACE}/.emacs.d" "${HOME}/.emacs.d"
- name: Install bash # Needed for mapfile on macOS,
# Installing early so all scripts run in
# the same environment
if: matrix.os == 'macos-latest'
run: brew install bash
- name: First start # So most modules are pulled in from melpa and gnu
run: '"${HOME}/.emacs.d/.ci/first-start.sh"'