diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index 1a72265..613617f 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -9,8 +9,7 @@ on: jobs: build: env: - LDFLAGS: "-L/usr/local/opt/llvm@11/lib" - CPPFLAGS: "-I/usr/local/opt/llvm@11/include" + LDFLAGS: "-L/opt/homebrew/opt/llvm/lib/c++ -L/opt/homebrew/opt/llvm/lib -lunwind" runs-on: macos-latest strategy: matrix: @@ -24,11 +23,14 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install OS dependencies run: | + brew update + brew install enchant brew install llvm tesseract enchant mysql python -m pip install --upgrade pip - # LLVM_CONFIG=/usr/local/Cellar/llvm@11/11.1.0/bin/llvm-config pip install llvmlite - pip install llvmlite - pip install pytest + pip install pytest pyenchant + PYENCHANT_VERBOSE_FIND=1 python -c 'import enchant' + + # LLVM_CONFIG=/usr/local/Cellar/llvm@18/18.1.8/bin/llvm-config pip install llvmlite # Can comment out 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] # Can remove after next Mathics-core release