Skip to content

Commit 5bd83ab

Browse files
committed
debug
1 parent 40e966a commit 5bd83ab

File tree

1 file changed

+58
-8
lines changed

1 file changed

+58
-8
lines changed

.github/workflows/test.yml

Lines changed: 58 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,67 @@
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+
- uses: conda-incubator/setup-miniconda@v3
22+
with:
23+
python-version: 3.9
24+
- name: Install requirements
25+
run: |
26+
conda install -c conda-forge pandoc
27+
conda install -c anaconda jupyter
28+
curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/eldev | sh
29+
30+
# Make eldev available to all future actions
31+
echo "$HOME/.local/bin" >> $GITHUB_PATH
32+
- name: Check Jupyter version
33+
run: |
34+
mkdir -p $(jupyter --runtime-dir)
35+
jupyter --paths
36+
jupyter --version
37+
jupyter kernelspec list
38+
- name: Byte compilation
39+
shell: powershell
40+
run: |
41+
msys2 -c 'make compile'
42+
- name: Run tests
43+
shell: powershell
44+
run: |
45+
msys2 -c 'make test'
46+
test-unix-like:
47+
strategy:
48+
matrix:
49+
os: [ubuntu-latest, macos-latest]
50+
#emacs-version: [27.2, 28.2, 29.3, snapshot]
51+
emacs-version: [29.3]
52+
exclude:
53+
- os: macos-latest
54+
emacs-version: 27.2
55+
defaults:
56+
run:
57+
shell: bash -el {0}
58+
runs-on: ${{ matrix.os }}
59+
continue-on-error: true
60+
steps:
61+
- uses: actions/checkout@v3
62+
- uses: purcell/setup-emacs@master
2063
with:
2164
version: ${{ matrix.emacs-version }}
22-
if: ${{ matrix.os == 'windows-latest' }}
2365
- uses: conda-incubator/setup-miniconda@v3
2466
with:
2567
python-version: 3.9
@@ -37,8 +79,16 @@ jobs:
3779
jupyter --paths
3880
jupyter --version
3981
jupyter kernelspec list
82+
# FIXME: It may be necessary to compile ZMQ since the runners can have
83+
# a different architecture than what is available in the
84+
# releases of that package. Should consider the architecture in
85+
# the releases of Emacs-ZMQ.
86+
- name: Install packages for compiling Emacs-ZMQ
87+
run: brew install automake libtool
88+
if: matrix.os == 'macos-latest'
4089
- name: Byte compilation
4190
run: |
91+
emacs -Q --batch --eval='(princ (concat system-configuration "\n"))'
4292
make compile
4393
- name: Run tests
4494
run: |

0 commit comments

Comments
 (0)