Skip to content

Try to get OSX CI working again #156

Try to get OSX CI working again

Try to get OSX CI working again #156

Workflow file for this run

name: pymathics-natlang (macOS)
on:
push:
branches: [ master ]
pull_request:
branches: '**'
jobs:
build:
env:
LDFLAGS: "-L/opt/homebrew/opt/llvm/lib/c++ -L/opt/homebrew/opt/llvm/lib -lunwind"
CPPFLAGS; "-I/opt/homebrew/opt/llvm/include"

Check failure on line 13 in .github/workflows/osx.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/osx.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
runs-on: macos-latest
strategy:
matrix:
os: [macOS]
python-version: ['3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install OS dependencies
run: |
brew install llvm tesseract enchant mysql
python -m pip install --upgrade pip
pip install pytest pyenchant
PYENCHANT_VERBOSE_FIND=1 python -c 'import enchant'
- name: Install Python dependencies
run: |
# Go over and comment out stuff when next Mathics core and Mathics-scanner are released
python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
git clone https://github.com/Mathics3/mathics-core
(cd mathics-core && pip3 install -e .[full])
(cd mathics-core && bash ./admin-tools/make-JSON-tables.sh)
python -m pip install -e git+https://github.com/Mathics3/Mathics3-Module-Base#egg=Mathics3-Module-Base
python -m pip install -e .
- name: Install Mathics3 natlang Module
run: |
make develop
- name: Test natlang
run: |
make check