Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run ci on macos-latest #254

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 32 additions & 2 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
. venv
make check-examples

test:
name: Run test suite
test-ubuntu:
name: Run test suite (Ubuntu)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -64,6 +64,36 @@ jobs:
. venv
make test

test-macos-xcode:
name: Run test suite (macOS xcode)
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: printenv | sort
- name: Test
run: |
export DYLD_LIBRARY_PATH=${XCODE_15_DEVELOPER_DIR}/Toolchains/XcodeDefault.xctoolchain/usr/lib
. venv
pip install clang==15.0.7
make test

test-macos-homebrew:
name: Run test suite (macOS homebrew)
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: brew --prefix llvm@15
- run: $(brew --prefix llvm@15)/bin/llvm-config --libdir
- run: printenv | sort
- name: Test
run: |
export DYLD_LIBRARY_PATH=$($(brew --prefix llvm@15)/bin/llvm-config --libdir)
. venv
pip install clang==15.0.7
make test

docs:
name: Check documentation
if: github.event_name == 'pull_request'
Expand Down
Loading