13
13
strategy :
14
14
fail-fast : false
15
15
matrix :
16
- os : [ubuntu-latest, macos-latest, windows-latest]
16
+ os : [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest]
17
17
emacs-version :
18
18
- 27.2
19
19
- 28.2
23
23
- os : ubuntu-latest
24
24
emacs-version : snapshot
25
25
experimental : true
26
+ - os : ubuntu-24.04-arm
27
+ emacs-version : snapshot
28
+ experimental : true
26
29
- os : macos-latest
27
30
emacs-version : snapshot
28
31
experimental : true
@@ -38,18 +41,32 @@ jobs:
38
41
with :
39
42
version : ${{ matrix.emacs-version }}
40
43
41
- - uses : emacs-eask/setup-eask@master
44
+ - name : Setup Eask
45
+ uses : emacs-eask/setup-eask@master
46
+ if : matrix.os != 'ubuntu-24.04-arm'
47
+ with :
48
+ version : ' snapshot'
49
+ architecture : ' x64'
50
+
51
+ - name : Setup Eask for linux-aarch64
52
+ uses : emacs-eask/setup-eask@master
53
+ if : matrix.os == 'ubuntu-24.04-arm'
42
54
with :
43
55
version : ' snapshot'
56
+ architecture : ' arm64'
44
57
45
58
- name : Setup cmake
46
59
if : matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
47
60
uses : jwlawson/actions-setup-cmake@v1.4
48
61
with :
49
62
cmake-version : ' 3.18.x'
50
63
64
+ - name : Setup cmake for linux-aarch64
65
+ if : matrix.os == 'ubuntu-24.04-arm'
66
+ uses : lukka/get-cmake@latest
67
+
51
68
- name : Check cmake
52
- if : matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
69
+ if : matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm' || matrix.os == ' macos-latest'
53
70
run : " cmake --version"
54
71
55
72
- uses : actions/setup-python@v5.1.0
@@ -74,19 +91,19 @@ jobs:
74
91
- uses : actions/checkout@v4
75
92
76
93
- name : Grant execution permission
77
- if : matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
94
+ if : matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm' || matrix.os == ' macos-latest'
78
95
run : chmod -R 777 ./
79
96
80
97
- name : Run tests (Unix)
81
- if : matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
98
+ if : matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm' || matrix.os == ' macos-latest'
82
99
run : make unix-ci
83
100
84
101
- name : Run tests (Windows)
85
102
if : matrix.os == 'windows-latest'
86
103
run : make windows-ci
87
104
88
105
- name : Move built artifact (Unix)
89
- if : matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
106
+ if : matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm' || matrix.os == ' macos-latest'
90
107
run : |
91
108
mv -f ./.eask/ ./test/downstream/.eask/
92
109
mv -f ./dist/ ./test/downstream/dist/
0 commit comments