Skip to content

Commit

Permalink
cirrus changes
Browse files Browse the repository at this point in the history
  • Loading branch information
peekxc committed Dec 12, 2023
1 parent 32ffc02 commit 2a0ce60
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@
env:
CIRRUS_CLONE_SUBMODULES: true

macos_task:
image: ghcr.io/cirruslabs/macos-ventura-base:latest
only_if: changesInclude('.cirrus.yml', '**.{h,cpp,py}')
env:
CC: clang
CXX: clang++
pip_cache:
folder: ~/.cache/pip
fingerprint_script: echo $PYTHON_VERSION
before_script: |
python -m pip install --upgrade pip
python -m pip install build pytest pytest-cov pytest-benchmark
dependencies_script: |
bash tools/cibw_macos.sh
build_script: |
python -m pip install . --verbose
test_script: |
python -m pytest tests/ --cov=primate --benchmark-skip
uninstall_script: |
python -m pip uninstall primate --yes
wheel_script: |
python -m build
install_script: |
python -m pip install dist/primate*.whl
test_post_script: |
python -m pytest tests/ --cov=primate --benchmark-skip
coverage report -m
linux_task:
container:
image: quay.io/pypa/manylinux_2_28_x86_64
Expand Down Expand Up @@ -36,7 +64,7 @@ windows_task:
image: cirrusci/windowsservercore:2019
only_if: changesInclude('.cirrus.yml', '**.{h,cpp,py}')
env:
PATH: ${PATH}:c:\python311
PATH: ${PATH}:"C:\python311"
setup_python_script: |
choco install -y python311
dependencies_script: |
Expand Down

0 comments on commit 2a0ce60

Please sign in to comment.