Skip to content

Commit 54d7f6a

Browse files
committed
debug
1 parent 40e966a commit 54d7f6a

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,68 @@
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: mingw64
21+
install: autotools
22+
- uses: conda-incubator/setup-miniconda@v3
23+
with:
24+
python-version: 3.9
25+
- name: Install requirements
26+
run: |
27+
conda install -c conda-forge pandoc
28+
conda install -c anaconda jupyter
29+
curl -fsSL https://raw.github.com/doublep/eldev/master/webinstall/eldev | sh
30+
31+
# Make eldev available to all future actions
32+
echo "$HOME/.local/bin" >> $GITHUB_PATH
33+
- name: Check Jupyter version
34+
run: |
35+
mkdir -p $(jupyter --runtime-dir)
36+
jupyter --paths
37+
jupyter --version
38+
jupyter kernelspec list
39+
- name: Byte compilation
40+
shell: powershell
41+
run: |
42+
msys2 -c 'make compile'
43+
- name: Run tests
44+
shell: powershell
45+
run: |
46+
msys2 -c 'make test'
47+
test-unix-like:
48+
strategy:
49+
matrix:
50+
os: [ubuntu-latest, macos-latest]
51+
#emacs-version: [27.2, 28.2, 29.3, snapshot]
52+
emacs-version: [29.3]
53+
exclude:
54+
- os: macos-latest
55+
emacs-version: 27.2
56+
defaults:
57+
run:
58+
shell: bash -el {0}
59+
runs-on: ${{ matrix.os }}
60+
continue-on-error: true
61+
steps:
62+
- uses: actions/checkout@v3
63+
- uses: purcell/setup-emacs@master
2064
with:
2165
version: ${{ matrix.emacs-version }}
22-
if: ${{ matrix.os == 'windows-latest' }}
2366
- uses: conda-incubator/setup-miniconda@v3
2467
with:
2568
python-version: 3.9
@@ -37,6 +80,13 @@ jobs:
3780
jupyter --paths
3881
jupyter --version
3982
jupyter kernelspec list
83+
- name: Install packages for compiling Emacs-ZMQ when needed
84+
# FIXME: It may be necessary to compile ZMQ since the runners can have
85+
# a different architecture than what is available in the
86+
# releases of that package. Should consider the architecture in
87+
# the releases of Emacs-ZMQ.
88+
run: brew install automake libtool
89+
if: matrix.os == 'macos-latest'
4090
- name: Byte compilation
4191
run: |
4292
make compile

0 commit comments

Comments
 (0)