From bfd94604a64d7caf77a95f7d97afbc892dd96123 Mon Sep 17 00:00:00 2001 From: Yangyang Li Date: Mon, 30 Oct 2023 01:45:09 -0500 Subject: [PATCH] chore: Update release.yml and pyproject.toml files --- .github/workflows/release.yml | 2 +- pyproject.toml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 17c826dc..154bfbfd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -77,7 +77,7 @@ jobs: os: [ubuntu-latest] # cibw_build: ["cp39-*", "cp310-*", "cp311-*"] cibw_build: ["cp39-*"] - cibw_archs: ["x86_64", "aarch64"] + cibw_archs: ["x86_64"] steps: - name: Check out repository diff --git a/pyproject.toml b/pyproject.toml index cdc2b228..3404d4ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -284,10 +284,15 @@ update_changelog_on_bump = true major_version_zero = true [tool.cibuildwheel.linux] -before-all = "yum install -y openssl-devel xz-devel" +before-all = "echo hello world" test-requires = "pytest" test-command = "pytest {project}/tests -vls -m imports" +[tool.cibuildwheel.macos] +test-command = "pytest {project}/tests -vls -m imports" + +before-all = "echo hello world" + [tool.poetry.build] script = "build.py" generate-setup-file = true