Skip to content

enrich class parse

enrich class parse #45

Workflow file for this run

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