Skip to content

Commit b98038f

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

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,37 @@ 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:
1717
os: [macOS]
18-
python-version: ['3.12']
18+
python-version: ['3.13']
1919
steps:
2020
- uses: actions/checkout@v4
2121
- name: Set up Python ${{ matrix.python-version }}
2222
uses: actions/setup-python@v5
2323
with:
2424
python-version: ${{ matrix.python-version }}
25-
- name: Install OS dependencies
25+
- name: Install dependencies
2626
run: |
27+
brew update
2728
brew install llvm tesseract enchant mysql
2829
python -m pip install --upgrade pip
2930
pip install pytest pyenchant
30-
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+
# Go over and comment out stuff when next Mathics core and Mathics-scanner are released
32+
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
33+
git clone https://github.com/Mathics3/mathics-core
34+
(cd mathics-core && pip3 install -e .[full])
35+
(cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
36+
python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
37+
python -m pip install -e .
3838
- name: Install Mathics3 natlang Module
3939
run: |
4040
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)