Skip to content

Commit b73434c

Browse files
committed
adding windows CI as github action
1 parent e315265 commit b73434c

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/windows.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Mathics (Windows)
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: windows-latest
12+
strategy:
13+
matrix:
14+
os: [windows]
15+
python-version: [3.6, 3.7, 3.8, 3.9]
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Install dependencies
23+
run: |
24+
choco llvm
25+
python -m pip install --upgrade pip
26+
LLVM_CONFIG=/usr/local/Cellar/llvm@9/9.0.1_2/bin/llvm-config pip install llvmlite
27+
- name: Install Mathics
28+
run: |
29+
make develop
30+
- name: Test Mathics
31+
run: |
32+
pip install pytest pexpect
33+
make -j3 check

0 commit comments

Comments
 (0)