diff --git a/.cirrus.yml b/.cirrus.yml index 99c4e602..3970103e 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -9,11 +9,12 @@ cirrus_wheels_macos_arm64_task: env: PATH: /opt/homebrew/opt/python@3.10/bin:$PATH CIBW_ARCHS_MACOS: arm64 + CIBW_TEST_COMMAND: "python -m flint.test" install_pre_requirements_script: - python3 -m venv venv - venv/bin/pip install --upgrade pip - venv/bin/pip install cibuildwheel==2.16.2 run_cibuildwheel_script: - - bin/cibw.sh + - venv/bin/cibuildwheel --platform macos wheels_artifacts: path: "wheelhouse/*" diff --git a/bin/cibw.sh b/bin/cibw.sh deleted file mode 100755 index 9e074891..00000000 --- a/bin/cibw.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash -# -# This script can be used to test cibuildwheel locally on OSX/Linux -# -# It is also worth commenting out the BEFORE_ALL line to build GMP etc after you have -# built those once because that is by far the slowest step. -# - -rm -f wheelhouse/* - -# export CIBW_ARCHS_MACOS="x86_64" -export CIBW_ARCHS_MACOS="arm64" - -export CIBW_TEST_COMMAND="python -m flint.test" # override setting in pyproject.toml - -# cibuildwheel --platform linux -# cibuildwheel --platform windows -venv/bin/cibuildwheel --platform macos