Skip to content

Commit e2bac4b

Browse files
committed
debug
1 parent 40e966a commit e2bac4b

File tree

1 file changed

+60
-8
lines changed

1 file changed

+60
-8
lines changed

.github/workflows/test.yml

Lines changed: 60 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,70 @@
11
on: push
22
jobs:
3-
test:
3+
test-windows:
44
strategy:
55
matrix:
6-
os: [ubuntu-latest, macos-latest, windows-latest]
7-
emacs-version: [27.2, 28.2, 29.3, snapshot]
6+
#emacs-version: [27.2, 28.2, 29.3, snapshot]
7+
emacs-version: [29.3]
8+
runs-on: windows-latest
89
defaults:
910
run:
1011
shell: bash -el {0}
11-
runs-on: ${{ matrix.os }}
1212
continue-on-error: true
1313
steps:
1414
- uses: actions/checkout@v3
15-
- uses: purcell/setup-emacs@master
15+
- uses: jcs090218/setup-emacs-windows@master
1616
with:
1717
version: ${{ matrix.emacs-version }}
18-
if: ${{ matrix.os != 'windows-latest' }}
19-
- uses: jcs090218/setup-emacs-windows@master
18+
- uses: msys2/setup-msys2@v2
19+
with:
20+
msystem: MSYS
21+
update: true
22+
install: >-
23+
make
24+
- uses: conda-incubator/setup-miniconda@v3
25+
with:
26+
python-version: 3.9
27+
- name: Install requirements
28+
run: |
29+
conda install -c conda-forge pandoc
30+
conda install -c anaconda jupyter
31+
curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/eldev | sh
32+
33+
# Make eldev available to all future actions
34+
echo "$HOME/.local/bin" >> $GITHUB_PATH
35+
- name: Check Jupyter version
36+
run: |
37+
mkdir -p $(jupyter --runtime-dir)
38+
jupyter --paths
39+
jupyter --version
40+
jupyter kernelspec list
41+
- name: Byte compilation
42+
shell: powershell
43+
run: |
44+
msys2 -c 'make compile'
45+
- name: Run tests
46+
shell: powershell
47+
run: |
48+
msys2 -c 'make test'
49+
test-unix-like:
50+
strategy:
51+
matrix:
52+
os: [ubuntu-latest, macos-latest]
53+
#emacs-version: [27.2, 28.2, 29.3, snapshot]
54+
emacs-version: [29.3]
55+
exclude:
56+
- os: macos-latest
57+
emacs-version: 27.2
58+
defaults:
59+
run:
60+
shell: bash -el {0}
61+
runs-on: ${{ matrix.os }}
62+
continue-on-error: true
63+
steps:
64+
- uses: actions/checkout@v3
65+
- uses: purcell/setup-emacs@master
2066
with:
2167
version: ${{ matrix.emacs-version }}
22-
if: ${{ matrix.os == 'windows-latest' }}
2368
- uses: conda-incubator/setup-miniconda@v3
2469
with:
2570
python-version: 3.9
@@ -37,6 +82,13 @@ jobs:
3782
jupyter --paths
3883
jupyter --version
3984
jupyter kernelspec list
85+
# FIXME: It may be necessary to compile ZMQ since the runners can have
86+
# a different architecture than what is available in the
87+
# releases of that package. Should consider the architecture in
88+
# the releases of Emacs-ZMQ.
89+
- name: Install packages for compiling Emacs-ZMQ when needed
90+
run: brew install automake libtool
91+
if: matrix.os == 'macos-latest'
4092
- name: Byte compilation
4193
run: |
4294
make compile

0 commit comments

Comments
 (0)