Skip to content

Commit c2142aa

Browse files
committed
Try OSX CI on workflows
1 parent 353849e commit c2142aa

2 files changed

Lines changed: 34 additions & 1 deletion

File tree

.github/workflows/basic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Mathics (basic)
1+
name: Mathics (ubuntu)
22

33
on:
44
push:

.github/workflows/osx.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Mathics (OSX)
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
os: [macOS]
15+
python-version: [3.6, 3.7, 3.8]
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+
# brew install liblapack-dev llvm-dev
25+
python -m pip install --upgrade pip
26+
- name: Install Mathics
27+
run: |
28+
sed -i "s/'sympy==[0-9]\.[0-9]\.[0-9]', //" setup.py
29+
make
30+
- name: Test Mathics
31+
run: |
32+
pip install pytest pexpect
33+
make -j3 check

0 commit comments

Comments
 (0)