-
Notifications
You must be signed in to change notification settings - Fork 6
150 lines (142 loc) · 4.49 KB
/
ci.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
name: Nore Emacs
on:
pull_request:
branches:
- cc
push:
branches:
- cc
jobs:
Ubuntu:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-20.04]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1 # without checkout history and tags
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install emacs
- name: Test
run: |
_TEST_=bone ./test.sh
_TEST_=axiom ./test.sh
_TEST_=module ./test.sh
_TEST_=profile ./test.sh
MacOS:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1 # without checkout history and tags
- name: Install Dependencies
run: |
brew install --formulae emacs
- name: Test
run: |
_TEST_=bone ./test.sh
_TEST_=axiom ./test.sh
_TEST_=module ./test.sh
_TEST_=profile ./test.sh
# MacOS:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 1 # without checkout history and tags
# - name: Install Dependencies
# run: |
# brew tap d12frosted/emacs-plus
# brew install emacs-plus@28 --with-native-comp
# - name: Test
# run: |
# _TEST_=bone ./test.sh
# _TEST_=axiom ./test.sh
# _TEST_=module ./test.sh
Windows:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1 # without checkout history and tags
- name: Install Dependencies
uses: msys2/setup-msys2@v2
with:
update: true
install: >-
make
mingw-w64-x86_64-gcc
emacs
- name: Test
run: |
_TEST_=bone ./test.sh
_TEST_=axiom ./test.sh
_TEST_=module ./test.sh
_TEST_=profile ./test.sh
# Emacs:
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# emacs: [
# emacs-27,
# emacs-26,
# emacs-25,
# emacs-24,
# emacs-23,
# emacs-22
# ]
# steps:
# - uses: actions/checkout@v2
# with:
# fetch-depth: 1 # without checkout history and tags
# - name: Install Dependencies
# run: |
# sudo apt-get update
# sudo apt-get install build-essential gcc-multilib
# sudo apt-get install gnutls-bin pciutils texinfo
# - name: Build Emacs
# env:
# emacs_source: "https://github.com/emacs-mirror/emacs.git"
# run: |
# if [ "${{matrix.emacs}}" = "emacs-22" ]; then
# git clone --depth=1 --branch="old-branches/EMACS_22_BASE" ${{env.emacs_source}} ${{matrix.emacs}}
# else
# git clone --depth=1 --branch=${{matrix.emacs}} ${{env.emacs_source}} ${{matrix.emacs}}
# fi
# cd ${{matrix.emacs}}
# if [ "${{matrix.emacs}}" = "emacs-27" ]; then
# ./autogen.sh
# ./configure --with-x-toolkit=no --with-xpm=ifavailable --with-gif=ifavailable --with-gnutls=ifavailable
# sudo make -j4 install
# elif [ "${{matrix.emacs}}" = "emacs-26" ]; then
# autoreconf -i
# ./configure --with-x-toolkit=no --with-xpm=no --with-gif=no --with-gnutls=no
# sudo make -j4 install
# elif [ "${{matrix.emacs}}" = "emacs-25" ]; then
# ./autogen.sh
# ./configure --with-x-toolkit=no --with-xpm=no --with-gif=no --with-gnutls=no
# sudo make -j4 install
# elif [ "${{matrix.emacs}}" = "emacs-24" ]; then
# ./autogen.sh
# ./configure --with-x-toolkit=no --with-xpm=no --with-gif=no --with-gnutls=no
# sudo make -j4 install
# elif [ "${{matrix.emacs}}" = "emacs-23" ]; then
# ./configure --with-x-toolkit=no --with-crt-dir=/usr/lib/`uname -m`-linux-gnu --with-xpm=no --with-jpeg=no --with-gif=no --without-makeinfo
# sudo make -j4 install
# elif [ "${{matrix.emacs}}" = "emacs-22" ]; then
# ./configure --with-x-toolkit=no --with-xpm=no --with-jpeg=no --with-gif=no --without-makeinfo
# sudo make -j4 install
# fi
# - name: Test
# run: |
# _TEST_=bone ./test.sh
# _TEST_=axiom ./test.sh
# _TEST_=module ./test.sh
# eof