Skip to content

Commit 512dc4d

Browse files
committed
Try to get OSX CI working again
1 parent edc657c commit 512dc4d

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

.github/workflows/osx.yml-needs-enchant-fixup renamed to .github/workflows/osx.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
push:
55
branches: [ master ]
66
pull_request:
7-
branches: [ master ]
7+
branches: '**'
88

99
jobs:
1010
build:
1111
env:
1212
LDFLAGS: "-L/opt/homebrew/opt/llvm/lib/c++ -L/opt/homebrew/opt/llvm/lib -lunwind"
13-
CPPFLAGS; "-I/opt/homebrew/opt/llvm/include"
13+
CPPFLAGS: "-I/opt/homebrew/opt/llvm/include"
1414
runs-on: macos-latest
1515
strategy:
1616
matrix:
@@ -28,13 +28,15 @@ jobs:
2828
python -m pip install --upgrade pip
2929
pip install pytest pyenchant
3030
PYENCHANT_VERBOSE_FIND=1 python -c 'import enchant'
31-
32-
# Can comment out when next Mathics core and Mathics-scanner are released
33-
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
34-
# Can remove after next Mathics-core release
35-
python -m pip install -e git+https://github.com/Mathics3/mathics-core#egg=Mathics3[full]
36-
(cd src/mathics3 && bash ./admin-tools/make-op-tables.sh)
37-
# python -m pip install Mathics3[full]
31+
- name: Install Python dependencies
32+
run: |
33+
# Go over and comment out stuff when next Mathics core and Mathics-scanner are released
34+
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
35+
git clone https://github.com/Mathics3/mathics-core
36+
(cd mathics-core && pip3 install -e .[full])
37+
(cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
38+
python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
39+
python -m pip install -e .
3840
- name: Install Mathics3 natlang Module
3941
run: |
4042
make develop

.github/workflows/ubuntu.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Pymathics.natlang (ubuntu)
1+
name: pymathics.natlang (Ubuntu)
22

33
on:
44
push:
@@ -11,7 +11,8 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
14+
# 3.9 works but it takes a long time to gather dependencies
15+
python-version: ['3.10', '3.11', '3.12', '3.13']
1516
steps:
1617
- uses: actions/checkout@v4
1718
- name: Set up Python ${{ matrix.python-version }}

0 commit comments

Comments
 (0)