-
Notifications
You must be signed in to change notification settings - Fork 12
57 lines (47 loc) · 1.11 KB
/
test.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
name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
# TODO: Test other OSs!
#- macos-latest
#- windows-latest
emacs-version:
- 27.2
- 28.2
- 29.4
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@v2
with:
tool: [email protected]
- uses: jcs090218/setup-emacs@master
with:
version: ${{ matrix.emacs-version }}
- uses: emacs-eask/setup-eask@master
with:
version: 'snapshot'
- name: Install requirements
run: |
echo "$HOME/.eask/bin" >> $GITHUB_PATH
echo "$HOME/bin" >> $GITHUB_PATH
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.80.1
components: clippy, rustfmt
- name: Run tests
run: |
just build
just test