Remove brew upgrade
from mac-tests.yml
#46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests(Mac) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
tests: | |
if: github.repository == 'gen740/cppygen' | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
python-version: ['3.10'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Python${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup pip | |
run: | | |
pip install -U pip | |
- name: Install llvm | |
run: | | |
brew update | |
brew install llvm | |
- name: Install | |
run: | | |
pip install . | |
- name: Tests | |
run: | | |
pytest | |
env: | |
CPPYGEN_COMPILE_FLAGS: -nostdinc -isystem/usr/local/opt/llvm/bin/../include/c++/v1 -isystem/usr/local/opt/llvm/lib/clang/17/include -isystem/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/include | |
CPPYGEN_LIBCLANG_PATH: /usr/local/opt/llvm/lib/libclang.dylib |