From 801b31e6b8603cba9e86cb11a3848f2b13741d7e Mon Sep 17 00:00:00 2001 From: rocky Date: Sat, 10 Aug 2024 16:41:47 -0400 Subject: [PATCH] Attempt to get OSX CI working --- .github/workflows/osx.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index 1a72265..2740d80 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