forked from emacs-exordium/exordium
-
Notifications
You must be signed in to change notification settings - Fork 0
90 lines (75 loc) · 2.18 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
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:
- 28.1
# - 28.2
# - 29.1
# - 29.2
# - 29.3
# - 29.4
# - snapshot
steps:
- name: scan 0
run: sudo find / -type f -name 'ibsqlite3.so.0*'
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
- name: list 1
run: sudo find / -type f -name 'ibsqlite3.so.0*'
- name: Install sqlite^dev
if: ${{ matrix.emacs_version != 'snapshot' && matrix.emacs_version < 29 }}
run: nix profile install nixpkgs#sqlite^dev
- name: scan 2
run: sudo find / -type f -name 'ibsqlite3.so.0*'
- uses: actions/checkout@v4
with:
path: '.emacs.d'
- name: First start # So most modules are pulled in from melpa and gnu
run: '.emacs.d/.ci/first-start.sh .emacs.d'
# - name: Compilation # This pulls extra modules not enabled by default
# run: '.emacs.d/.ci/compilation.sh .emacs.d'
- name: Unit tests
run: '.emacs.d/.ci/unit-tests.sh .emacs.d'
- name: Verify no obsolete cl- functions
run: '.emacs.d/.ci/unit-test-cl.sh .emacs.d'
# pkryger-taps:
# runs-on: ${{ matrix.os }}
# env:
# ci_tests: true
# strategy:
# matrix:
# include:
# - os: macos-latest
# emacs_version: snapshot
# steps:
# - uses: purcell/setup-emacs@master
# with:
# version: ${{ matrix.emacs_version }}
# - uses: actions/checkout@v4
# with:
# path: '.emacs.d'
# - uses: actions/checkout@v4
# with:
# repository: 'pkryger/exordium-commontap'
# path: '.emacs.d/taps/commontap'
# - name: First start # So most modules are pulled in from melpa and gnu
# run: '.emacs.d/.ci/first-start.sh .emacs.d'